
18 Mar
2008
18 Mar
'08
11:57 a.m.
iliali16 wrote:
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) directly: main = image2PS spiral "iliali" Tillmann