Manuel M T Chakravarty wrote:
There is `Debug.Trace.trace' for this:
http://haskell.org/ghc/docs/latest/html/base/Debug.Trace.html
However, if you want to log as opposed to debug, you may
want to have the output go to somewhere else but stdout.
Hence, it might be useful to have a variant of
- Integer
...
I'm not sure if I should go any further, in case this is a homework
question...
Andy
--
[ Andy Fugard ]
[ +44 (0)7901 603075 ]
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
At 20:11 05/06/2002 +0200, Hannah Schroeter wrote:
Why not combine filter and length appropriately?
Pass -- I'm also a newbie, and haven't got as far as filter.
*Looks up filter*
Well, there's his homework done :-)
(
do w - openWindow A Snowflake Fractal (700,650)
snowFlake w [Cyan, Blue, Magenta, White, Blue] 400 5
(300,250)
k - getKey w
closeWindow w
)
--
[ Andy Fugard ]
[ +44 (0)7901 603075
* * * * * * * * * * * * * * * * * * * * * * *
Get your free @ecosse.net account
http://www.ecosse.net
Scotland's Free Internet Service Provider
* * * * * * * * * * * * * * * * * * * * * * *
___
Haskell-Cafe mailing list
[EMAIL
in advance,
Andy
--
[ Andy Fugard /'andi fju:ga:d/ ]
[ Phone: +44 (0)7901 603075]
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
At 13:43 14/05/01 +0200, Ralf Hinze wrote:
Andy Fugard wrote:
My main question is really what facilities of the language I should be
looking at to make this code more elegant! As you can see I currently know
only the basics of currying, and some list operations.
Definitely list