Continuation Passing Style

2002-03-14 Thread Tom Bevan
I noticed that Ralf Hinze posted a CPS monad yesterday. Would someone be kind enough to post a simple example of a function that uses CPS. Thanks Tom ___ Haskell-Cafe mailing list [EMAIL PROTECTED]

(no subject)

2002-02-24 Thread Tom Bevan
Hi, I've come across this sort of data constructor below many times but I'm not really sure how to use it. Can someone please point me to the right section in the documentation? In particular, I want to know how to create a calendar time and how to access the fields . Tom data CalendarTime =

Re: Monad composition

2002-01-23 Thread Tom Bevan
On Thu, 2002-01-24 at 14:32, Andre W B Furtado wrote: Hi, I have the same problem. Did anyone answered your question? Thanks, -- Andre - Original Message - From: Tom Bevan [EMAIL PROTECTED] To: Haskell Cafe List [EMAIL PROTECTED] Sent: Wednesday, January 23, 2002 4:29 AM

Re: Regarding finding the number of unique elements in a list.

2002-01-17 Thread Tom Bevan
I consider myself a newbie too but here are my solutions Tom On Fri, 2002-01-18 at 10:14, Amrit K Patil ;012;VKSF6; wrote: Hi, I am newbie at Haskell. I am not able to write a program to find the number of unique elments in a list in haskell. I am also not able to write a porgram

RE: Compiler error using IO

2002-01-06 Thread Tom Bevan
On Sat, 2002-01-05 at 05:03, Zhanyong Wan wrote: Hi, Ashley Yakeley wrote: | The layout rules drive me nuts. You might prefer using parentheses and | semicolons, as I do: I guess the point behind the layout rules is that anything violating such rules is considered bad programming