1
0
Fork 0

hello world

main
Sebastian Steger 2025-08-20 14:57:27 +02:00
parent 5ca76865d1
commit c3e16ad1b8
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# Build
`ghc hello-world.hs`
# Run
`runghc hello-world.hs`
# Run interactively
```
ghci
ghci> :load hello-world.hs
ghci> main
```

View File

@ -0,0 +1,2 @@
main :: IO ()
main = putStrLn "Hello, World!"