Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lxpz
· 1y ago · 0 comments
Doesn't Haskell do this to some degree with the IO monad? Functions that are not supposed to do IO directly simply have a more specific type signature, like taking in a stream and returning a buffer for example.
Comments
[–]
tome
1y ago
Yes, although it can be violated by unsafePerformIO and friends. Haskell's is not an "assured" system.