[Haskell-cafe] Additional functions of GMP

Artyom Kazak artyom.kazak at gmail.com
Thu Aug 11 17:01:28 CEST 2011


> I'm writing a package (arithmoi) that will include reasonably fast
> implementations of those, but I never find the time to finish it :(

Package is great, but sometimes it is useful to have such functions out of  
box (for example, when solving SPOJ problems).

> No, you can't, unfortunately (not easily, anyway).

I have found a manual on including additional primops in GHC (exactly this  
situation), but this requires modifying GHC's sources, which also does not  
allow using them with SPOJ.



More information about the Haskell-Cafe mailing list