RosettaCodeData/Task/Currying/Racket/currying-2.rkt

7 lines
76 B
Racket

#lang racket
(define ((curried+ a) b)
(+ a b))
((curried+ 3) 2) ; => 5