Comment Comment by rfw Tangentially, the Löb function over (Haskell) functors implements spreadsheet-like computations in an unexpected way: https://github.com/quchen/articles/blob/master/loeb-moeb.mdex. loeb [const 1, const 2, \xs -> x !! 0 + x !! 1] gives you [1, 2, 3].Naturally, it doesn't allow for mutations or anything fancy, but it is an interesting curiosity. parent rfw 11 years ago
ex.
gives you [1, 2, 3].Naturally, it doesn't allow for mutations or anything fancy, but it is an interesting curiosity.