At the end of part 12.6.3 of the docs in
http://docs.racket-lang.org/reference/reader.html, it gives some examples
Examples:
-1
reads equal to
-1
1/2
reads equal to
(/ 1 2)
1.0
reads equal to
(inexact-exact 1)
1+2i
reads equal to
(make-complex 1 2)
1/2+3/4i
reads equal to
I'll hijack the thread since I've been meaning to ask about the Y
combinator.
From SICP I've seen that the Y combinator is the function
(define (y f)
((lambda (x) (f (x x)))
(lambda (x) (f (x x)
This makes mathematical sense, since
(y f)
= ((lambda (x) (f (x x))) (lambda (x) (f (x x
2 matches
Mail list logo