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,
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
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
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,
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
"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
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
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
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