99 Bottles of Beer/Lisp: Difference between revisions

Content added Content deleted
(moving code from main task-page to sub-page / Wart)
m (missing: Emacs Lisp)
Line 4: Line 4:
{{collection|99 Bottles of Beer}}
{{collection|99 Bottles of Beer}}
[[99 Bottles of Beer]] done in Lisp-languages
[[99 Bottles of Beer]] done in Lisp-languages
__toc__


<!--
<!--
See [[99 Bottles of Beer/Lisp]]
See [[99 Bottles of Beer/Lisp]]
-->
-->

<!-- still missing:
Emacs Lisp
-->

__toc__


=={{header|ACL2}}==
=={{header|ACL2}}==
Line 53: Line 58:
* <tt>~:P</tt> is for English plurals: it prints <tt>s</tt> if the last argument wasn't 1; it prints nothing otherwise. There's also <tt>~@P</tt> for <tt>y</tt>/<tt>ies</tt>, in case you were worried about that.
* <tt>~:P</tt> is for English plurals: it prints <tt>s</tt> if the last argument wasn't 1; it prints nothing otherwise. There's also <tt>~@P</tt> for <tt>y</tt>/<tt>ies</tt>, in case you were worried about that.
Note, by the way, how the emoticons <tt>:*~D</tt> and <tt>:P</tt> have shown up in the format string. FORMAT is so powerful, it's even self-aware about how silly it is.
Note, by the way, how the emoticons <tt>:*~D</tt> and <tt>:P</tt> have shown up in the format string. FORMAT is so powerful, it's even self-aware about how silly it is.

<!-- missing here:
=={{header|Emacs Lisp}}==
-->


=={{header|Lisp}}==
=={{header|Lisp}}==