Thanks to everyone for all the help! Everything is working for me now. It turns out that the main detail I was missing was exactly what commands to type to compile it, and how to use it in GHCI. Pretty important detail, actually.
Alistair - yes, there are a few simpler pages about FFI on the old wiki that I missed, thanks for the helpful links. I'll try to put it all up on the new wiki in a few days when I have time. What Bulat wrote is in my opinion _exactly_ what is needed. I'll incorporate the suggestion of Don and Sven, and then combine it with the two simpler pages from the old wiki. -Yitz _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe