Skip to content

Instantly share code, notes, and snippets.

@AeroNotix
Created August 18, 2014 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AeroNotix/f40049ccef68c174d282 to your computer and use it in GitHub Desktop.
Save AeroNotix/f40049ccef68c174d282 to your computer and use it in GitHub Desktop.
(defpackage :example
(:use :cl)
(:export :use-t :new-t))
(defclass t ()
(field :accessor field :initform :lolz))
(defun use-t (a-t)
(field a-t)) ;; => returns :lolz
(defun new-t ()
(make-isntance 't))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment