[Haskell-cafe] Matrices as Applicatives and Monads

Strikingwolf2012 . strikingwolf2012 at gmail.com
Tue Feb 9 02:02:37 UTC 2016


I have been writing code encoding matrices here
<https://github.com/Strikingwolf/Learning/blob/master/haskell/src/math/Matrix.hs>
as
a learning experience. However, I cannot figure out a method to make Matrix
an instance of Applicative and Monad. I believe it is possible, but I
cannot find an implementation. For context my form of Matrix does not have
a requirement to be of integers, it is just a 2-Dimensional array in
essence. Thank you in advance for any help you may provide :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160208/bff5d8df/attachment.html>


More information about the Haskell-Cafe mailing list