News for hackers. Stuff that matters.
Re:How do I modify a variable in Haskell? by tome on Tuesday August 15, 2017 @12:14PM (#15019532)
OK, I know this isn't nice but it's already part of the way there

    writeArray arr (i,j) =<< ((+) <$> readArray arr (i,j-1) <*> readArray arr (i-1,j))
Re:How do I modify a variable in Haskell? by jstimpfle on Tuesday August 15, 2017 @05:31PM (#15022823)
This is not only not nice, it's just a bad idea. (and I understand it!)
Re:How do I modify a variable in Haskell? by tome on Wednesday August 16, 2017 @04:44AM (#15025912)
I think you may have misinterpreted my comment.