[Haskell-cafe] Code that writes code
Erik de Castro Lopo
mle+hs at mega-nerd.com
Sat Aug 21 04:09:39 EDT 2010
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/
More information about the Haskell-Cafe
mailing list