Fix code sample
This commit is contained in:
parent
428c7ae6ef
commit
97a7220d63
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ try =
|
|||
" or"
|
||||
haskellCode "foldr (:) [] [1,2,3]"
|
||||
" or "
|
||||
haskellCode "do line <- getLine; putStrLn line or readFile \"/welcome\"")
|
||||
haskellCode "do line <- getLine; putStrLn line"
|
||||
" or "
|
||||
haskellCode "readFile \"/welcome\"")
|
||||
p [] (do a [href "https://hackage.haskell.org/package/pure-io-0.2.0/docs/PureIO.html#g:2"]
|
||||
"These"
|
||||
" IO actions are supported in this app.")
|
||||
|
|
Loading…
Reference in a new issue