Posts about Haskell

I Learned Something About Scala

I am trying to learn Scala. Here's me trying. Don't forget to look for my write up at the end where I answer my own... more
Posted by Toby on Aug 11, 09
About programming, haskell and scala

The New-Found-Love for Dynamic Languages

Posted by Toby on Aug 04, 09
About programming, ruby and haskell

Null in 10 Languages

  • Java, Javascript, C#: null
  • Ruby, Smalltalk, Lisp, OCaml: nil
  • Lisp: ()
  • Python: None
  • Haskell: Nothing
  • C: 0
more
Posted by Toby on May 11, 09
About programming, javascript, ruby, smalltalk, haskell, ocaml, python, java, c#, lisp and c

How Safe is Your Programming Language

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
Posted by Toby on Mar 30, 08
About programming, javascript, ruby, smalltalk, haskell, ocaml, python, java, c#, lisp and c
2 comments

Compiling a windows application as supposed a console application from haskell

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
Posted by Toby on Feb 04, 08
About programming, haskell and winodws

Hello Haskell

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
Posted by Toby, 宝宝妈 on Jan 21, 08
About programming and haskell

foldr exercises

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
Posted by Toby on Jan 18, 08
About programming and haskell
1 comments

a little haskell

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
Posted by Toby on Jan 17, 08
About programming and haskell

Design Patterns Revisited: Iterators II

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
Posted by Toby on Dec 03, 07
About programming, designpatterns and haskell