Re:How do I modify a variable in Haskell?
by nihils on Thursday August 17, 2017 @11:23AM
(#15037543)
For example, this problem of modifying the diagonal of a matrix can be solved quite easily:
If matrix == [[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]], then:
[ Parent
| on HN ]
There are no comments on this comment yet.