[Haskell-cafe] Converting image2PS function
rendel at rbg.informatik.tu-darmstadt.de
Tue Mar 18 11:57:34 EDT 2008
> I have this function ready
> image2PS:: Image -> String -> IO()
> but when I use it for example
> image2PS spiral iliali
> it tells me that the iliali is undefined.
iliali is a variable, which has to be bound so it can be used, e.g.
iliali = "iliali"
main = image2PS spiral iliali
alternatively, you can use a literal string (enclosed in double quotes)
main = image2PS spiral "iliali"
More information about the Haskell-Cafe