Giving up imperative habits....

10 Jul
2004
10 Jul
'04
9:51 a.m.
Usually I tend not to give much information to a subroutine intending to restrict its liberty of touching the calling information..... So if I have an instance Inst which should be changed by an outside-Inst computation Sub and I'm calling Sub with Sub(I'),I try to build the story so that Sub can only read Inst or a part of it (I') and return some specially structured information which then I use "inside" Inst to change Inst's state (horribble speech). The feeling I get with Haskell, is that S should have the freedom of changing I and return just I (changed). Is it any right ?? grazie Paolino -- ....lotta dura per la verdura
7619
Age (days ago)
7619
Last active (days ago)
0 comments
1 participants
participants (1)
-
paolo veronelli