2021-12-28 01:42:17 +00:00
|
|
|
#lang scheme
|
|
|
|
|
2021-12-29 02:32:43 +00:00
|
|
|
(define (displayln x)
|
|
|
|
(display x)
|
|
|
|
(newline))
|
2021-12-28 01:42:17 +00:00
|
|
|
|
2021-12-29 02:32:43 +00:00
|
|
|
(define (curry2 f)
|
|
|
|
(lambda (l) (lambda (r) (f l r))))
|
2021-12-28 01:42:17 +00:00
|
|
|
|
|
|
|
(displayln (((curry2 +) 1) 2))
|