Programming

Racket define-syntax-rule

steloflute 2012. 9. 8. 22:32
> (define-syntax-rule (% a b) (modulo a b))
> (% 10 3)
1

'Programming' 카테고리의 다른 글

(Haskell) Hello World  (0) 2012.09.10
(Racket) file->string  (0) 2012.09.09
Lisp: Common Lisp, Scheme, Clojure, Emacs Lisp: a side-by-side reference sheet  (0) 2012.09.08
Clojure의 장단점  (0) 2012.09.07
Try Clojure  (0) 2012.09.06