Created
September 29, 2011 14:16
-
-
Save miyamuko/1250808 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| (byte-compile-file "test.l") | |
| ;=> Compiling hoge... | |
| ; done. | |
| ; t | |
| (load "test.lc") | |
| ;=> t | |
| (hoge) | |
| ;=> (4 5 6 7 8 9 10) |
This file contains hidden or 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
| (in-package :user) | |
| (eval-when (:compile-toplevel :load-toplevel :execute) | |
| (require "cmu_loop") | |
| (require "ansi-loop") | |
| (shadowing-import (intern "loop" :ansi-loop)) | |
| ) | |
| (defun hoge () | |
| (loop for i from 0 to 10 | |
| when (and (> i 3) i) | |
| collect it)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment