tvl-depot/lisp/prelude.lisp
William Carroll 95d03facb3 Support prelude.lisp
Using this module to support utility functions that I have not classified
further than being miscellaneous.
2020-01-24 10:52:53 +00:00

14 lines
369 B
Common Lisp

(in-package #:cl-user)
(defpackage #:prelude
(:documentation "Supporting miscellaneous utility functions and macros.")
(:use #:cl)
(:shadow #:type)
(:export #:type #:comment))
(in-package #:prelude)
;; TODO: Add documentation to these macros.
(defmacro type (name in out)
`(declaim (ftype (function ,in ,out) ,name)))
(defmacro comment (&rest _forms) nil)