First, let me define what I mean by safe: the earlier a programming language catches a programming error for you, the safer it is. Haskell is extremely safe, whereas php is extremely unsafe. Some...
more
The fact that my haskell application always runs in a command window(Windows land here) was really nagging me. I happened to be fiddling with C# express studio last night, and found out that the...
more
For the past four days I've been learning Haskell. As my first real program, I wrote a file backup utility - essentially a command line wrapper to rsync. The program was probably around 200 lines,...
more
I implemented some common ruby list operations in haskell using foldr:import Data.Maybe-- find f [] = Nothing-- find f (x:xs) = if f x then Just x else find f xsfind f = foldr (\a b -> if f a then...
more
In the process of learning haskell today I found this tutorial and followed it and wrote my own version of wc. Here's the code:import System.Environmentimport Data.Listdata Countable = CList [String]...
more
I am learning Haskell afresh now, and it turns out that the iterator pattern is REALLY invisible in Haskell. This is a departure from other languages that claim to make iterators invisible like...
more