Project Euler Problem 381 is easy problem. Using Wilson theorem Haskell source code using monad par import Data.List import Data.Numbers.Primes import Control.Monad.Par import GHC.Conc.Sync --use wils… more →
My Weblogwrote 1 hour ago: One interesting detour I took this last month was writing a toy Haskell Symbolic Algebra library, Ha … more →
wrote 7 hours ago: Here are solutions for the first 6 problems I quickly cranked out. myLast :: [a] -> a myLast [x] … more →
wrote 8 hours ago: Here is my quickly written solution to a simple “search and replace the first occurrence … more →
wrote 1 day ago: John Kodumals, Atlassian, explains his work on Typeclassopedia Scala Typeclassopedia: http://typecla … more →
wrote 1 day ago: Reading about folding in haskell, i thought about implementing this in c#. First of all i want to de … more →
wrote 1 day ago: Problem 2 is a bit more challenging, and is as follows: Each new term in the Fibonacci sequence is g … more →
wrote 5 days ago: Haskell supports first class functions. This means we can pass a function as an argument of a functi … more →
wrote 5 days ago: I wrote a factorial program before but this time I extended it to receive an input from a user. This … more →
wrote 1 week ago: While I was learning “type” in Haskell, I created a toy program to represent a mini coop … more →
wrote 1 week ago: I continue playing with Haskell. Here is the question number 8 from Ninety-Nine Haskell Problems. (* … more →
wrote 1 week ago: I am studying an intro to Haskell I/O so I practiced by writing a program using knowledge from this … more →
wrote 1 week ago: I am studying an intro to Haskell I/O so I practiced by writing a program using knowledge from this … more →
wrote 1 week ago: Here is another prime number problem. Again, I re-used my prime number sieve, which I called wheneve … more →
wrote 1 week ago: Life. No bread this morning, you’ll be glad to know, though I did make a wholemeal loaf on the … more →
wrote 1 week ago: I’ve been so busy I’ve neglected my Haskell education. I’m still nibbling at the t … more →
wrote 2 weeks ago: There’s less than two weeks left before exams, trials more difficult than anything I’ve … more →
wrote 2 weeks ago: For anyone who has read any of my blog posts from the last couple years and tried to run the code un … more →
wrote 2 weeks ago: It appears that this motel might have a vacancy. Haskell, Texas photographed 3.25.2012 … more →
wrote 2 weeks ago: When I was looking for a picture to represent Prime Number Factorization, I had no idea what to use. … more →