forked from steger/pr3-sose2026
hello world
parent
5ca76865d1
commit
c3e16ad1b8
|
|
@ -0,0 +1,14 @@
|
|||
# Build
|
||||
|
||||
`ghc hello-world.hs`
|
||||
|
||||
# Run
|
||||
|
||||
`runghc hello-world.hs`
|
||||
|
||||
# Run interactively
|
||||
```
|
||||
ghci
|
||||
ghci> :load hello-world.hs
|
||||
ghci> main
|
||||
```
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
main :: IO ()
|
||||
main = putStrLn "Hello, World!"
|
||||
Loading…
Reference in New Issue