Created
August 23, 2023 21:58
-
-
Save nekodjin/6610d13ea5163f8dfeb359aa930caf1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Example where | |
printGreeting :: IO () | |
printGreeting = putStrLn "Hello, user!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Example ( printGreeting ) -- alternatively, `import Example` to import everything | |
main :: IO () | |
main = printGreeting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment