This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
6e242cfad6
Branches
Tags
cm-review
master
mine-sweeper-lab
rsa-lab
HaskellCourse
/
cm
/
io_length.hs
io_length.hs
104 B
History
Raw
1
2
3
4
5
6
7
8
-- Slide 57
ioLength::IO Int
ioLength = do
x <- getLine
return (length x)
main = ioLength >>= print