Re: Interpret haskell within haskell.

2002-12-19 Thread Matt Hellige
[Christopher Milton <[EMAIL PROTECTED]>] > --- David Sankel <[EMAIL PROTECTED]> wrote: > > I was wondering if there is any project that aims to > > interpret haskell within haskell. [... snipped intro to ghci ...] > If you have defined functions in "myprog.hs": > :load myprog.hs > then the functi

Re: Interpret haskell within haskell.

2002-12-19 Thread Christopher Milton
--- David Sankel <[EMAIL PROTECTED]> wrote: > I was wondering if there is any project that aims to > interpret haskell within haskell. http://www.haskell.org/implementations.html GHC, the Glasgow Haskell Compiler The Glasgow Haskell compiler is a full implementation of Haskell. It is itsel

Re: Parsing date and time specifications

2002-12-19 Thread Mark Carroll
On 19 Dec 2002, Peter Simons wrote: (snip) > datatype. It appears that in order to construct one of those, I need > _all_ the information it contains, including the weekday (Day) and the > number of the day in the year. > > The problem now is that I do not have this information! Of course I > could

Parsing date and time specifications

2002-12-19 Thread Peter Simons
Hi, I have written a parser that turns an RFC2822 date and time specification into a datatype usable in Haskell. While the parser is working just fine so far, I have a problem with the CalendarTime datatype. It appears that in order to construct one of those, I need _all_ the information it contai