Y
Hacker News
new
|
ask
|
show
|
jobs
by
lxpz
406 days ago
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.
1 comments
tome
405 days ago
Yes, although it can be violated by unsafePerformIO and friends. Haskell's is not an "assured" system.
link