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
Branch:
rsa-lab
Branches
Tags
cm-review
master
mine-sweeper-lab
rsa-lab
HaskellCourse
/
cm
/
io_length.hs
io_length.hs
104 B
Permalink
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