Re: ghc5.04.1 deriving Read/Show broken

2002-09-17 Thread George Russell
Manuel M T Chakravarty wrote: [snip] Luckily, there is a workaround (discovered by Tom Moertel on #haskell). If you include field names in the data definition for which you derive Show and Read, it seems to work fine. [snip] Thanks. I may try this, if I get time.

RE: ghc5.04.1 deriving Read/Show broken

2002-09-17 Thread Simon Marlow
Luckily, there is a workaround (discovered by Tom Moertel on #haskell). If you include field names in the data definition for which you derive Show and Read, it seems to work fine. So, in George's example module GHCBug where data Command = NewLocation | Commit

RE: Posix.executeFile having problems with unevaluated argumnets

2002-09-17 Thread Simon Marlow
Sorry, I haven't got time to narrow this down to a test case, but here are what I hope are the key factors: (1) We start up applications in a child process (forked with Posix.forkProcess) by calling Posix.executeFile, wrapped in an Exception.catch handler (to detect errors). (2) Both

[ ghc-Bugs-610569 ] typo: %lt; should be lt;

2002-09-17 Thread noreply
Bugs item #610569, was opened at 2002-09-17 07:20 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=610569group_id=8032 Category: Documentation Group: 5.04.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

Division by 0 exits ghci

2002-09-17 Thread George Russell
On Solaris: # /home/ger/ghc-5.04.1.install/bin/ghci ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 5.04.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/ /_/\/|_| Type :? for help. Loading package base ...

Re: Division by 0 exits ghci

2002-09-17 Thread George Russell
In fact the problem is more drastic than I mentioned in my last message; division by 0 doesn't seem to be catchable at all. From this program --- cut here --- import Exception main = do excep - Exception.try (seq (1 `div` 0) (return ())) putStrLn

Re: Division by 0 exits ghci

2002-09-17 Thread Manuel M T Chakravarty
George Russell [EMAIL PROTECTED] wrote, In fact the problem is more drastic than I mentioned in my last message; division by 0 doesn't seem to be catchable at all. From this program --- cut here --- import Exception main = do excep - Exception.try