Skip to content

hw202207/hello-haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Unable to build with GHC

  • This works
    cabal build
        
  • This fails
    ghc --make Main.hs
        
  • This fixes ghc build
    ghc --make -XHaskell2010 Main.hs
        

    GHC2021 is used by GHC if neither Haskell98 nor Haskell2010 is turned on explicitly.

    • GHC2021 enable StandaloneKindSignatures hence it supposes work.
    • Haskell2010 has CUSKs, which is legacy extension that fixes user specified kind signature.
    • GHC2021 is new feature since 9.2.1
    • Follow up this problem here.
  • Reference
  • Tips
    • cabal build --verbose to see what being passed to GHC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published