News for hackers. Stuff that matters.
Re:Admitting that Functional Programming Can Be Awkward by didroe on Tuesday June 16, 2009 @12:10PM (#660408)
This is exactly the idea I had a while ago. I was talking with a friend and we were designing a language where you would have pure and impure functions. That way you can easily see what's going on and what to expect but you don't have to jump through a load of hoops when modifying a bit of state would have done the job.
Re:Admitting that Functional Programming Can Be Awkward by utx00 on Tuesday June 16, 2009 @12:26PM (#660436)
check out chapter 3 of "on lisp". specially the part about functional interfaces.
Re:Admitting that Functional Programming Can Be Awkward by didroe on Tuesday June 16, 2009 @12:39PM (#660463)
Just had a skim, looks like the kind of thing I was thinking altough clearly he's thought it through a bit more. Thanks for the link, I'll take a look properly later.