Restrict access to "critical" functions
Timon Gehr
timon.gehr at gmx.ch
Thu Dec 15 09:22:40 PST 2011
On 12/15/2011 06:04 PM, Jonathan M Davis wrote:
> On Thursday, December 15, 2011 13:57:21 deadalnix wrote:
>> Even haskell has non pure functions (IO monad for exemple).
>
> Actually, Haskell is a 100% purely functional language.
Not entirely. For example:
http://users.skynet.be/jyp/html/base/System-IO-Unsafe.html
> Monads are completely
> pure. They're _how_ Haskell manages to be pure with I/O, when every functional
> language before them had had to be impure with regards to I/O.
>
> - Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list