3 ms·
Good explanation. To add, you have (at least) two choices to implement Monads for Vectors. The one you explained is akin to the standard Haskell List Monad, a
by eru 13y ago
Good explanation. To add, you have (at least) two choices to implement Monads for Vectors. The one you explained is akin to the standard Haskell List Monad, and the other one is the ZipList.