<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE701%3AScreencasts%3Ascar107%3AOptionalParameters</id>
	<title>SE701:Screencasts:scar107:OptionalParameters - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE701%3AScreencasts%3Ascar107%3AOptionalParameters"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE701:Screencasts:scar107:OptionalParameters&amp;action=history"/>
	<updated>2026-04-05T22:29:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE701:Screencasts:scar107:OptionalParameters&amp;diff=12800&amp;oldid=prev</id>
		<title>Mark: 3 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE701:Screencasts:scar107:OptionalParameters&amp;diff=12800&amp;oldid=prev"/>
		<updated>2008-11-03T05:27:47Z</updated>

		<summary type="html">&lt;p&gt;3 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Can be downloaded from [http://frio.name/streaming/se701-screencast-01.mov here].  Note - new and improved!  Well, kinda.  It&amp;#039;s still not particularly exciting, but I made the resolution bigger so it&amp;#039;s easier to see/read.  Ooooh!&lt;br /&gt;
&lt;br /&gt;
Cheatsheet:&lt;br /&gt;
* &amp;amp;optional: specifies that the following unnamed argument is optional&lt;br /&gt;
  (defun do-stuff (&amp;amp;optional on-something))&lt;br /&gt;
* &amp;amp;key: specifies that the following argument is named&lt;br /&gt;
  (defun do-stuff (&amp;amp;key (thing &amp;quot;hello&amp;quot;))&lt;br /&gt;
   (print thing))&lt;br /&gt;
  &lt;br /&gt;
  (do-stuff :thing &amp;quot;nahhh&amp;quot;)&lt;br /&gt;
* &amp;amp;rest: specifies that a variable number of arguments should be assigned to a list in the following argument&lt;br /&gt;
  (make-list (&amp;amp;rest args)&lt;br /&gt;
   (for i in args do&lt;br /&gt;
    (print i)))&lt;br /&gt;
&lt;br /&gt;
Choice!&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>