Run-time options in ghc on Linux

2002-12-19 Thread Garner, Robin
The +RTS options don't seem to be working for me on Linux (Redhat 7.2, ghc 5.04 and 5.04.1installed viathe .rpms). One of my programs will happily consume all available memory, even though I have +RTS -M64M, and another program fails with Stack space overflow: current size 1048576

Urgent Help: URI parser

2002-12-19 Thread Yeo Gek Hui
Hi, I wonder what happens to the port when URI parses http URL string. Is it possible to check for : and use the stated port instead of port 80? Anyone has experience doing it before? Thanks in advance. Cheers, Gek ___ Haskell mailing list [EMAIL

RE: Urgent Help: URI parser

2002-12-19 Thread Simon Marlow
I wonder what happens to the port when URI parses http URL string. Is it possible to check for : and use the stated port instead of port 80? Anyone has experience doing it before? Thanks in advance. Cheers, Gek The Network.URI library will extract the host:port: authority (fromJust

Interpret haskell within haskell.

2002-12-19 Thread David Sankel
I was wondering if there is any project that aims to interpret haskell within haskell. Is it feasable that a program can import a user's .hs file that has something like: greeting :: String greeting = Something port :: Int port = 32 + 33 And the program can parse and execute the user's

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

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

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 quote type=partial GHC, the Glasgow Haskell Compiler The Glasgow Haskell compiler is a full implementation of

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 functions defined