Created
September 19, 2011 05:48
-
-
Save miyamuko/1226038 to your computer and use it in GitHub Desktop.
#xyzzy の loop マクロで unless の中に return を書けない
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
| ;;; xyzzy | |
| (loop | |
| for i from 0 to 2 | |
| unless (< i 1) | |
| return i) | |
| Invalid clause for inside a conditional: return | |
| ;;; clisp | |
| [1]> (loop | |
| for i from 0 to 2 | |
| unless (< i 1) | |
| return i) | |
| 1 | |
| ;;; sbcl | |
| * (loop | |
| for i from 0 to 2 | |
| unless (< i 1) | |
| return i) | |
| 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment