Andrew Coppin wrote: > Well, yeah, if you've got so much boiler plate that you have to automate > generating the boilerplate, you're probably doing it wrong. ;-) > > All I'm actually using it to do is generate a set of fixed-size > containers (each of which has a bazillion class instances). I've got a > variable-sized container, but sometimes it's useful to statically > guarantee that a container is a specific size.
Have a look at how hmatrix-static does this for linear algebra while sitting on top of hmatrix (both are on hackage). Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe