News aggregator

propellor type-safe reversions

Haskell on Reddit - Wed, 04/02/2014 - 11:16am
Categories: Incoming News

2048 in haskell

Haskell on Reddit - Wed, 04/02/2014 - 9:43am
Categories: Incoming News

Benchmarking with Criterion, 'scanl1 (+)' appears 7 times faster than 'sum' ?

Haskell on Reddit - Wed, 04/02/2014 - 6:40am

Hi,

I am trying out Criterion to make some quick measurements, here I compare scanl1 (+) rand with sum rand for a random list, and the former takes much less time than the latter, even though it should be more work.

If I try last . scanl1 (+) to obtain a value equal to sum rand, I get a similar time.

One point which may be unclear to me is the description of nf in Criterion.Main:

Apply an argument to a function, and evaluate the result to head normal form (NF).

I'm not sure what "head normal form" means in the context of Haskell, particularly when there are constructors, but the comments at the top of the page seem to indicate that nf would fully evaluate the list.

What am I missing?

http://lpaste.net/102135

submitted by Syrak
[link] [7 comments]
Categories: Incoming News

Libc considered harmful

Haskell on Reddit - Wed, 04/02/2014 - 6:24am
Categories: Incoming News

Adventures in Hoogling

del.icio.us/haskell - Wed, 04/02/2014 - 12:47am
Categories: Offsite Blogs

Adventures in Hoogling

del.icio.us/haskell - Wed, 04/02/2014 - 12:47am
Categories: Offsite Blogs

valderman/haste-compiler

del.icio.us/haskell - Tue, 04/01/2014 - 4:41pm
Categories: Offsite Blogs

valderman/haste-compiler

del.icio.us/haskell - Tue, 04/01/2014 - 4:41pm
Categories: Offsite Blogs

New gtk2hs 0.12.4 release

gtk2hs - Wed, 11/21/2012 - 12:56pm

Thanks to John Lato and Duncan Coutts for the latest bugfix release! The latest packages should be buildable on GHC 7.6, and the cairo package should behave a bit nicer in ghci on Windows. Thanks to all!

~d

Categories: Incoming News