Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Rich Hickey is mad!
1
Name:
Anonymous
2013-06-20 20:39
https://github.com/richhickey/clojure/blob/04764db9b213687dd5d4325c67291f0b0ef3ff33/src/clj/clojure/core.clj
5701 lines
what a mess!
48
Name:
Anonymous
2013-06-22 5:32
>>36
You want a function with type
a ∨ (a,b) → a
or
(a → a) ∨ ((a,b) → a)
but Haskell doesn't let you do that, so you have to wrap it in a data constructor.
data Union a b = Value a | Pair a b
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List