Skip to content

Instantly share code, notes, and snippets.

@nekodjin
Created August 23, 2023 21:58
Show Gist options
  • Save nekodjin/6610d13ea5163f8dfeb359aa930caf1b to your computer and use it in GitHub Desktop.
Save nekodjin/6610d13ea5163f8dfeb359aa930caf1b to your computer and use it in GitHub Desktop.
module Example where
printGreeting :: IO ()
printGreeting = putStrLn "Hello, user!"
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