Re: Default declarations

1999-11-02 Thread Malcolm Wallace
Sven Panne wrote: The Haskell 98 report, section 4.3.4 states: [...] In situations where an ambiguous type is discovered, an ambiguous type variable is defaultable if at least one of its classes is a numeric class (that is, Num or a subclass of Num) and if all of its classes

Vectors

1999-11-02 Thread Ronald J. Legere
Has anyone out there written up a vector/matrix package (i.e. , support for types Num a = [a] ). Ideally such a package would instance Num, etc, and support matrix multiplication, etc etc. I did look on the haskell web page, but cannot find anythign like this. If this is in the standard