Why is there no splitBy in the list module?

2006-07-10 Thread Marc Weber
There is already lines. Why not generalise it to take an additional parameter '\n' and call it split or splitBy? There are some cases where you want to split a list not on '\n'. Marc ___ Glasgow-haskell-users mailing list

Re: Why is there no splitBy in the list module?

2006-07-10 Thread Ketil Malde
Marc Weber [EMAIL PROTECTED] writes: There is already lines. Why not generalise it to take an additional parameter '\n' and call it split or splitBy? There are some cases where you want to split a list not on '\n'. Indeed, and in e.g. ByteString and MissingH, there are more functions of

Fwd: GHC for Solaris

2006-07-10 Thread Christian Maeder
Greetings from Canada, I installed Christian Maeder's binary package for the Glasgow Haskell Compiler (ghc-6.4.1-sparc-sun-solaris2.tar.gz) which I downloaded from http://www.haskell.org/ghc/docs/6.4.1/html/users_guide/release-6-4-1.html When I compiled a simple program, I got an error. ghc -o

Testing GHC 6.5 on Mac Intel

2006-07-10 Thread Joel Reymont
Folks, My tests hang periodically but when I run the binaries by hand everything works. Has anyone seen this? I'm on Mac Intel and building the latest GHC 6.5 from darcs. Thanks, Joel P.S. I would be cool to have a ghc-dev list that did not include committed patches.

Re: Is this test summary good or bad?

2006-07-10 Thread Donald Bruce Stewart
joelr1: Folks, I'm running Mac OSX 10.4.7 on Intel. This is the result of running the ghc-regress suite of tests using a freshly updated ghc 6.5 that was bootstrapped using a binary distribution. I suspect the framework failures were cases where tests got hung and I had to Ctrl-C

Re: Is this test summary good or bad?

2006-07-10 Thread Donald Bruce Stewart
dons: joelr1: Folks, I'm running Mac OSX 10.4.7 on Intel. This is the result of running the ghc-regress suite of tests using a freshly updated ghc 6.5 that was bootstrapped using a binary distribution. I suspect the framework failures were cases where tests got hung and I

Re: Is this test summary good or bad?

2006-07-10 Thread Joel Reymont
On Jul 10, 2006, at 2:29 PM, Donald Bruce Stewart wrote: Using the wrong stage for the test? You'll need to use the stage2 ghc. How do I do this? I just ran make in the tests directory and it indeed picked up stage1 ghc. Thanks, Joel -- http://wagerlabs.com/

Re: Is this test summary good or bad?

2006-07-10 Thread Joel Reymont
On Jul 10, 2006, at 2:29 PM, Donald Bruce Stewart wrote: Using the wrong stage for the test? You'll need to use the stage2 ghc. make stage=2 does it but I wish this was documented. -- http://wagerlabs.com/ ___ Glasgow-haskell-users mailing

Re: Is this test summary good or bad?

2006-07-10 Thread Simon Marlow
Joel Reymont wrote: On Jul 10, 2006, at 2:29 PM, Donald Bruce Stewart wrote: Using the wrong stage for the test? You'll need to use the stage2 ghc. make stage=2 does it but I wish this was documented. wish granted :-) Simon ___

Re: Is this test summary good or bad?

2006-07-10 Thread Joel Reymont
This is using stage2. Does it look any better? OVERALL SUMMARY for test run started at Mon Jul 10 15:11:22 BST 2006 952 total tests, which gave rise to 4583 test cases, of which 11 caused framework failures 1099 were skipped 3185 expected passes 24 expected failures

Re: Is this test summary good or bad?

2006-07-10 Thread Donald Bruce Stewart
joelr1: This is using stage2. Does it look any better? OVERALL SUMMARY for test run started at Mon Jul 10 15:11:22 BST 2006 952 total tests, which gave rise to 4583 test cases, of which 11 caused framework failures 1099 were skipped 3185 expected passes 24