在 Nov 24, 2006 9:29 PM 時,Björn Bringert 寫到:
This is just a quick announcement that the development version of
QuickCheck 2 is now available in a public darcs repository.
Some highlights:
- Shrinks failing test cases.
- Supports testing monadic code.
Wonderful. Many thanks for QC2! :-)
By
在 Oct 21, 2006 5:14 PM 時,Taral 寫到:
On 10/21/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
> let proc n x = do
Hmm, am I missing something here, but how does forkIO (and data
parallelism) fit in into that scheme?
I R DUM.
let proc n x = forkIO $ do
I just implemented it that
在 Oct 21, 2006 9:58 AM 時,Taral 寫到:
On 10/21/06, Audrey Tang <[EMAIL PROTECTED]> wrote:
I wonder if there is a more efficient way doing this...
I would use an IOArray:
let l = length xs
arr <- newArray_ (0, l)
count <- newQSemN 0
let proc n x = do
rv <- runEvalI
I hacked +RTS -N support into Pugs today; here's a short writeup:
http://pugs.blogs.com/pugs/2006/10/smp_paralleliza.html
Pugs's current implementation for concurrent operations on lists is
very naive:
chan<- newChan
forM ([0..] `zip` xs) $ \(n, x) -> forkIO $
(Cross-posted to haskell@, at the suggestion from Don Stewart)
After nearly four months of development and 3400+ commits, I'm very glad
to announce that Pugs 6.2.13 is now available:
http://pugs.blogs.com/dist/Perl6-Pugs-6.2.13.tar.gz
SIZE: 6839270
SHA1: b06b8434c64e9bb5e3ab482282fbae0a
在 2006/6/27 上午 12:09 時,Bulat Ziganshin 寫到:
Software Transactional Memory for Parrot
by Charles Albert Reiss, mentored by Leopold Toetsch
(mentioned on http://code.google.com/soc/tpf/about.html )
it seems that Haskell continues to be a source of new technologies for
other languages.
Yeah, tha