Skip to content

Commit

Permalink
Remove muted defmacros
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq committed Dec 27, 2015
1 parent c461f17 commit 2d059cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions include/propl-macros.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@
(let ((name (to-unders (car arg)))
(body (cdr arg)))
`(defun ,(list_to_atom (++ "prop_" name)) ()
,@body)
;; (defmacro ,(prop- (car arg)) () (,name))
))
,@body)))

(defmacro deftype arg
"This macro is for defining PropEr types."
(let ((name (to-unders (car arg)))
(body (cdr arg)))
`(defun ,(car arg) ()
,@body)
;; (defmacro ,(car arg) () (,name))
))
,@body)))

(defmacro prop-let (x raw-type gen)
"Sugar for `?LET`."
Expand Down

0 comments on commit 2d059cb

Please sign in to comment.