Thanks very much
Daniel Fischer-4 wrote:
>
> Am Dienstag, 18. März 2008 16:00 schrieb iliali16:
>> Hi guys again just want to ask you I have this function ready
>
>> but when I use it for example
>>
>> image2PS spiral iliali
>>
>> it tells me that the iliali is undefined. What do you thing how
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 il
Am Dienstag, 18. März 2008 16:00 schrieb iliali16:
> Hi guys again just want to ask you I have this function ready
> but when I use it for example
>
> image2PS spiral iliali
>
> it tells me that the iliali is undefined. What do you thing how should I
> use it. Thanks in advance!
image2PS spiral "
Hi guys again just want to ask you I have this function ready
-- Creates a Postscript file from an Image
-- page shows -200 <= x <= 200, 300 <= y <= 300
-- boundaries, plus origin plotted on output
image2PS:: Image -> String -> IO()
image2PS (Image contents) filename =
writeFile filename (hea