[Haskell-cafe] ANN: combinatorics

Daniel Fischer daniel.is.fischer at googlemail.com
Sun Feb 5 23:40:58 CET 2012

On Sunday 05 February 2012, 23:14:35, wren ng thornton wrote:
> On 2/5/12 10:21 AM, Daniel Fischer wrote:
> > Why not use one of the packages on hackage which offer faster prime
> > generators?
> Mostly because I hadn't looked, having had the code already laying
> around.

Yeah, that's fine, it was just

> > I'll  probably trade it in for your algorithm though.

that made me wonder.

> I'm not opposed to it, however another goal is to remain
> portable to other compilers, which means being H98/H2010 compliant.

A noble goal.

> NumberSieves uses BangPatterns, but that would be easily remedied if the
> author is willing; arithmoi looks quite nice, however it is GHC-only.

The curse of striving for efficiency.
"Portability is on the to-do list (with low priority, however)."
It just climbed a place.


More information about the Haskell-Cafe mailing list