Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

The Haskell haters' fallacies

Name: Anonymous 2012-02-06 15:49

1. Haskell is purely functional.
No.

2. Static typing sucks.
No.

3. Haskell is hard to learn.
Go scrub another toilet you mental midget.

4. You go scrub another toilet you mental midget!
Ergo you're wrong, bitch.

Name: Anonymous 2012-03-18 6:52

>>36
Silly example:

Vector addition in Lisp:
(defun vecadd (&rest vecs)
         (apply #'mapcar #'+ vecs))

--obvious use of map.

Vector addition in Haskell:
vecadd ::(Num n) => [[n]] -> [n]
vecadd = foldl vadd []
  where vadd x y = zipWith (+) x y
--You have to reinvent the wheel all the fucking time and you still have to pass a list of lists, whereas in Lisp you can use syntax as for normal addition. Not that map wasn't used even if this is textbook example of its use.
Or, TYPECLASS CLUSTERFUCK if you want to be able to use standard syntax.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List