lambdabot

Untitled

Jul 6th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.49 KB | None | 0 0
  1. (let ((isa-base (make-hash-table :size 20))
  2.       (includes-base (make-hash-table :size 20))
  3.       (article-base (make-hash-table :size 20)) )
  4.   (defun set-isa (x y) (setf (gethash x isa-base) y))
  5.   (defun get-isa (x) (gethash x isa-base))
  6.   (defun set-includes (x y)
  7.     (setf (gethash x includes-base) y) )
  8.   (defun get-includes (x) (gethash x includes-base))
  9.   (defun set-article (x article)
  10.     (setf (gethash x article-base) article) )
  11.   (defun get-article (x) (gethash x article-base))
  12.  )
Advertisement
Add Comment
Please, Sign In to add comment