Re: [stack] What does "concatenative" actually mean?
John Nowak <[email protected]>
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
On Mar 3, 2009, at 2:00 PM, Rodney D Price wrote: > Haskell *does* need a monad to do I/O. Haskell doesn't need a monad to do I/O. The alternative would be ugly as Mr. Cowan said, but it's not a requirement. The easiest way to do it would be to pass a "world value" into the program and then use uniqueness types to ensure no I/O actions are performed when there exists more than one reference to the world value. In this approach, you'd have to manually plumb the world state around instead of using monads. - John