Bjorn Lisper wrote:
> - your definition of fromInteger will behave strangely with the elementwise
>   extended operations, like (+). 1 + [[1,2],[3,4]] will become
>   [[2,2],[3,5]] rather than [[2,3],[4,5]]. Array languages supporting this
>   kind of overloading invariably have the second form of semantics.

Don't call an array a matrix.  If is named matrix, it should have
matrix multiplication, addition, and they should obey the expected laws.  


Udo.
-- 
Jeder Idiot kann seine Fehler verteidigen, was die meisten Idioten ja
auch tun.  -- Dale Carnegie

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to