Technologies to Watch: A Look at Four That May Challenge Java’s Development Dominance
Subject:   Haskell?
Date:   2005-10-21 08:15:48
From:   GregBuchholz
Maybe you'd like to take Haskell ( out for a spin? You say you want a list of Fibonacci's numbers? How about all of them...

fibs = 0 : 1 : (zipWith (+) fibs (tail fibs))

...But maybe you only want to print out the first ten?...

main = print (take 10 fibs)

...All that conciseness plus polymorphic static types which are automatically infered for you so you don't have to write them down.

1 to 1 of 1
  1. Haskell?
    2005-10-24 06:51:57  ikayak [View]

1 to 1 of 1