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

Holy fuck this is bootyful

Name: Anonymous 2014-09-28 18:10

It seems that haskiefaggots have invented syntax even crazier than "arrow notation":

fNeedle :: (Int, Int, Int) -> (Int, Int, Int, Int)
fNeedle = [nd|
}=={(+1)}=\==========================>
\
}===\ \ /============>
\ \ /
}=) \ (==={uncurry div}=/={negate}===>
\
\=={(*2)}========================>
|]


You can write code liek

id2 = [nd|
/======\
/ \
}======\ / \======>
\ /
\======/
|]


and

swap = [nd|
}====\
\
}==) \ (==>
\
\====>
|]


Abelson's fat schlong on a fuckstick, this is gold.

http://scrambledeggsontoast.github.io/2014/09/28/needle-announce/

Name: Anonymous 2014-09-28 19:15

The idea isn't new and works well for pure code in languages like Haskell. However, I doubt that impure code is readable or even usable in this notation: Ordering of side-effects can't be made clear and doing pipelines with ASCII arrows is so fucking retarded it's physically painful.

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