Skip to content

Instantly share code, notes, and snippets.

@miyamuko
Created September 19, 2011 05:48
Show Gist options
  • Select an option

  • Save miyamuko/1226038 to your computer and use it in GitHub Desktop.

Select an option

Save miyamuko/1226038 to your computer and use it in GitHub Desktop.
#xyzzy の loop マクロで unless の中に return を書けない
;;; 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