Last active
December 6, 2015 13:43
-
-
Save eshamster/a642c6d4cee674d09b8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#|-*- mode:lisp -*-|# | |
#| | |
exec ros +Q -- $0 "$@" | |
|# | |
(defpackage pack-a | |
(:use :cl) | |
(:export :test-struct)) | |
(in-package :pack-a) | |
(defstruct test-struct | |
slot1) | |
(defpackage pack-b | |
(:use :cl | |
:pack-a)) | |
(in-package :pack-b) | |
(defstruct (test-struct2 (:include test-struct | |
(slot1 100))) | |
slot2) | |
(defun main (&rest argv) | |
(declare (ignorable argv)) | |
(print (make-test-struct2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment