[ ghc-Bugs-1198765 ] make depend of ghc-6.5 segfaults on x86-64

2005-05-24 Thread SourceForge.net
Bugs item #1198765, was opened at 2005-05-10 06:28 Message generated for change (Comment added) made by ggd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1198765&group_id=8032 Please note that this message will contain a full copy of the comment thread,

[ ghc-Bugs-1198765 ] make depend of ghc-6.5 segfaults on x86-64

2005-05-24 Thread SourceForge.net
Bugs item #1198765, was opened at 2005-05-10 04:28 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1198765&group_id=8032 Please note that this message will contain a full copy of the comment th

RE: runInteractiveProcess, confused

2005-05-24 Thread Simon Marlow
On 18 May 2005 14:47, Frederik Eaton wrote: > When I run the following line in ghci: > > Prelude System.Process Control.Concurrent System.IO> do { (inp, out, > err, ph) <- runInteractiveProcess "cat" [] Nothing Nothing; forkIO > (do hPutStr inp "this\nis\na\ntest\n"; hClose inp); waitForProcess p

[ ghc-Bugs-1198765 ] make depend of ghc-6.5 segfaults on x86-64

2005-05-24 Thread SourceForge.net
Bugs item #1198765, was opened at 2005-05-10 06:28 Message generated for change (Comment added) made by ggd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1198765&group_id=8032 Please note that this message will contain a full copy of the comment thread,

[ ghc-Bugs-1206891 ] unjustified deduction error

2005-05-24 Thread SourceForge.net
Bugs item #1206891, was opened at 2005-05-23 08:13 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1206891&group_id=8032 Please note that this message will contain a full copy of the comment thr

Re: Re[2]: the impossible happened

2005-05-24 Thread Malcolm Wallace
"Simon Peyton-Jones" <[EMAIL PROTECTED]> writes: > A difficulty is that the caller of 'head' might itself be called from > somewhere else: > > foo (xs, ys) = head xs > > It's all very like cost-centre stacks, which is why GHC provides the -xc > option when you are profiling. I think that

RE: ghci obscurity

2005-05-24 Thread Simon Peyton-Jones
That's strange, if you are using the HEAD. I get Prelude Data.Generics> (\x -> case cast x of Just x'@(a,b) -> print x'; Nothing -> putStrLn "No match") (2::Int,3::Int) No match Incidentally, the 'no match' is because you aren't fixing the type of 'a' and 'b', so they are ambiguous and are defau

[ ghc-Bugs-1205825 ] Incorrect "Defined but not used"

2005-05-24 Thread SourceForge.net
Bugs item #1205825, was opened at 2005-05-20 18:04 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1205825&group_id=8032 Please note that this message will contain a full copy of the comment thr

Re: ghci obscurity

2005-05-24 Thread Frederik Eaton
Thank you! I imagine that if you think you've fixed it then you have, but here's an example: Prelude Data.Generics> (\x -> case cast x of Just x'@(a,b) -> print x'; Nothing -> putStrLn "No match") (2::Int,3::Int) Top level: No instance for (Show (IO ())) arising from use of `print' at