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

λ-calculus, fuck yeah!

Name: Anonymous 2008-02-10 17:22

Prelude> :l Lambda
[1 of 1] Compiling Lambda           ( Lambda.hs, interpreted )
Ok, modules loaded: Lambda.
Loading package utf8-string-0.2 ... linking ... done.
*Lambda> list
((λx.λy.λf.(f x) y) a) (((λx.λy.λf.(f x) y) b) (((λx.λy.λf.(f x) y) c) nil))
*Lambda> eval list
λf.(f a) (((λx.λy.λf.(f x) y) b) (((λx.λy.λf.(f x) y) c) nil))
*Lambda> eval (Ap list car)
a
*Lambda> eval (Ap list cdr)
λf.(f b) (((λx.λy.λf.(f x) y) c) nil)
*Lambda> eval (Ap list cadr)
b
*Lambda> car
λx.λy.x
*Lambda> cdr
λx.λy.y
*Lambda> cadr
λx.λy.y (λx.λy.x)
*Lambda>


cars, cdrs, and ``ABSTRACT BULLSHITE''

Name: Anonymous 2008-02-10 17:25

is that lisp?

Name: Anonymous 2008-02-10 17:29

>>2
Read SICP.

Name: Anonymous 2008-02-10 17:33

λf.(λx.f (x x)) (λx.f (x x))

Name: Anonymous 2008-02-10 17:34

Haskeλλ

Name: Anonymous 2008-02-10 18:28

Gentlemen, what we have here is...

    HASKELL. HASKELL NOMADS.

Name: Anonymous 2008-02-10 18:30

HASKELL. DYKE HASKELL NOMADS. CAMEL TOE

Name: Anonymous 2013-03-18 18:53

λisp

Name: Anonymous 2013-03-18 18:55

Terribλe!

Name: Anonymous 2013-03-18 19:10

>>1
post source code on github pl0x

Name: Anonymous 2013-03-19 10:45

λbeλson and Sλλsman

Name: Anonymous 2013-03-19 10:46

λ

Name: Anonymous 2013-03-19 11:16

(λ f (x) (* x x))

i made a parabola

Name: Anonymous 2013-03-19 11:17

I intend to learn OCaml by way of implementing typed lambda calculus and the Maude system.

Name: Anonymous 2013-03-19 12:21

Πολεκατ κεβαβς!

Name: Anonymous 2013-03-19 14:56

>>17
Oh yes!

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