[Haskell-cafe] Unboxed Rationals?

Artyom Kazak artyom.kazak at gmail.com
Wed Jan 11 18:51:30 CET 2012


You can use Data.Vector.Unboxed. There isn't an instance for Ratio a, but  
it is easy to write one, since it would be very similar to Complex a.

http://hackage.haskell.org/packages/archive/vector/0.9.1/doc/html/Data-Vector-Unboxed.html#t:Unbox



More information about the Haskell-Cafe mailing list