- This works
cabal build
- This fails
ghc --make Main.hs
- This fixes
ghc
buildghc --make -XHaskell2010 Main.hs
GHC2021 is used by GHC if neither Haskell98 nor Haskell2010 is turned on explicitly.
- Reference
- Tips
cabal build --verbose
to see what being passed to GHC
-
Notifications
You must be signed in to change notification settings - Fork 0
hw202207/hello-haskell
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published