Re: [Haskell] problems with RegEx

2005-07-27 Thread Bernard Pope
On Wed, 2005-07-27 at 21:26 -0500, Srinivas Nedunuri wrote: > hello, I'm trying to use the Text.Regex library from Hugs. However, > Hugs doesn't recognize any of the methods in there. For example if I > try to use the mkRegex function I get the error message "Undefined > variable "mkRegex". I have

Re: [Haskell] Y in haskell?

2005-04-17 Thread Bernard Pope
On Mon, 2005-04-18 at 15:35 +1000, Bernard Pope wrote: > On Mon, 2005-04-18 at 01:08 -0400, David Menendez wrote: > > Trevion writes: > > > > > On 4/18/05, Lloyd Allison <[EMAIL PROTECTED]> > > wrote: > > > > Is it possible to define Y in Haskel

Re: [Haskell] Y in haskell?

2005-04-17 Thread Bernard Pope
On Mon, 2005-04-18 at 01:08 -0400, David Menendez wrote: > Trevion writes: > > > On 4/18/05, Lloyd Allison <[EMAIL PROTECTED]> > wrote: > > > Is it possible to define Y in Haskell (pref' H98) -- > > > and get it to pass type checking? > > > > I believe that > > > > y f = f (y f) > > > > is the

Re: [Haskell] build an interpreter on top of GHCi?

2005-01-26 Thread Bernard Pope
On Thu, 2005-01-27 at 13:57 +0800, WANG Meng wrote: > Hi All, > > Does anybody has the experience to built an interpreter on top of GHCi? > > What I want is to defined a my own interpreter as a Haskell module and > load it into GHCi. So this new interpreter will be running on top of GHCi > which

Re: [Haskell] parser for "Typing Haskell in Haskell"

2004-11-18 Thread Bernard Pope
On Thu, 2004-11-18 at 13:23 +0800, WANG Meng wrote: > Hi All, > > Does anybody know what parser "Typing Haskell in Haskell" use? I am tring > to use the code for some type checking. But I cannot find a parser in the > distribution. Last time I looked, which was a long time ago, there was no parse