Solutions to the UPenn's CIS 194: Introduction to Haskell (Spring 2013) class. Note that some of the code was provided as part of the assignment.
Some solutions to the Data61's (NICTA) Functional Programming Course.
Some solutions to the H-99: Ninety-Nine Haskell Problems.
Basic implementation of the quadratic sieve algorithm in Haskell using the arithmoi
package. Usage:
factor 9345673029867
More involved implementation of the self-initializing quadratic sieve algorithm is available in siqs.hs
. Function factorise
finds one factor of a hard-coded prime. The algorithm is missing a randomness element in the computeAParamenter
function to make it useful universally.