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

Why Haskell is utterly verbose?

Name: Anonymous 2011-05-15 20:11

Lisp

pSym A [B:A@Rest] -> [[B Rest]]


Haskell

pSym a (b:rest) = if a == b then [(b,rest)] else []
pSym a [] = []


Lisp

Tree =: [[n 5 [n 5 n]] 4 [[n 5 n] 6 n]]


Haskell

data Tree a = Empty | Node (Tree a) a (Tree a)
tree = Node (Node Empty 5 (Node Empty 5 Empty)) 4 (Node (Node Empty 5 Empty) 6 Empty)

Name: Anonymous 2011-05-16 7:16

>>1
u now whats not verbose?

Zip files, that's what.

U used '[' three times, it should of be encoded with two bits or sumthin.

Off with ur verbose shit, real men edit .jar files directly & r non-verbose and manly.

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