Grafting Functional Support on Top of an Imperative Language
Leandro Lucarella
llucax at gmail.com
Fri Apr 4 17:22:34 PDT 2008
Jason House, el 4 de abril a las 19:09 me escribiste:
> bearophile wrote:
> > P. 31: >writeln(i);<
> >
> > Can you put (temporary) debugging writeln/putr inside a pure function?
>
> That's always bothered me about this stuff. I don't want to lose
> debugging/logging ability!
You can't have all. If you functions have side effects, you can't do a lot
of things (like a rollback & retry with STM).
--
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
RENUNCIO PARA IR A REZARLE A SAN CAYETANO
-- Crónica TV
More information about the Digitalmars-d
mailing list