Skip to content

ltics/Clea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

well... just explore the good part (extremely flexible, concise syntax, compile-time metaprogramming) and the bad part (dynamic type, impure, sometimes too much parentheses) of Lisp, nothing fancy here.

Example

(defmacro when
  [test & body]
  `(if ~test (do ~@body)))

(ƒ non-sense
  [y]
  (λ [x] (when y (prn "y ⇔ ⊤") x)))

((non-sense true) 3)