Haskell helpers for kids
Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Guess.hs
LICENSE
Napero.cabal
Napero.hs
README.md

README.md

Some helpers for fun Haskell programming with kids.

example explanation
say "lol" says "lol" aloud (uses the command line say)
p "lol" prints "lol" as text
i reads a line of input from the user
w 1 waits one second
s [w 1, say "lol"] run commands sequentially
rnd 4 generates random number between 1 and 4

Have a look at the Guess example program. You can run it with runhaskell Guess.hs.