Fixed missing import for curry

This commit is contained in:
Jens Axel Søgaard 2012-11-17 14:22:27 +01:00 committed by Neil Toronto
parent 9307cbb120
commit bbef490fb0
2 changed files with 1 additions and 1 deletions

View File

@ -409,6 +409,7 @@ This function is known as Eulers totient or phi function.
Note: The function @racket[totient] is multiplicative.
@interaction[#:eval untyped-eval
(require racket/function) ; for curry
(totient 9)
(length (filter (curry coprime? 9) (range 10)))]

View File

@ -372,4 +372,3 @@
(equal? (matrix* (matrix-2d-orthogonal-projection 1 0) e2) O)
(equal? (matrix* (matrix-2d-orthogonal-projection 0 1) e1) O)
(equal? (matrix* (matrix-2d-orthogonal-projection 0 1) e2) e2))))))