GreenCard: list marshalling

Ferenc Wagner wferi@afavant.elte.hu
Mon, 03 Jun 2002 00:28:39 +0200


               Hi,

I'd like to call LaPack routines from Haskell.  Having read
the GreenCard documentation it's still not obvious to me how
I could marshall a list of numbers to C.  Surely it's
possible to create a ForeignObj, then fill it in element-by-
element.  But isn't there a more straightforward way?  Even
without monads?

                                      Cheers: Feri.