Newsgroups: fa.haskell
From: Derek Elkins <derek.a.elk...@gmail.com>
Date: Mon, 16 Jul 2007 01:48:45 UTC
Local: Sun, Jul 15 2007 9:48 pm
Subject: Re: [Haskell-cafe] Clearly, Haskell is ill-founded
On Mon, 2007-07-16 at 02:29 +0100, Conor McBride wrote: If the Punter asks the appropriate question, perhaps the guru will spend > Hi > Whoops! Only just spotted this. Many apologies. > On 10 Jul 2007, at 20:35, Creighton Hogg wrote: > > Me: > > > No, an > > I'm sorry, but can you expand a little further on this? I guess I > You'll be needing a bit of higher-order corecursion for that. > > data{-codata-} Punter = Speak String (String -> Punter) > A Punter is guaranteed to ask a question, and whatever answer you give > > data{-codata-} Stream x = x :> (Stream x) > > cafe :: Punter -> (String -> Punter) -> Stream (String, String) the rest of time thinking about an answer. _______________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||