<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -84,6 +84,9 @@
     of the shortest list in `ls'; extra elements in other lists are discarded. &quot;
   (apply map list ls))
 
+(def mklist (x)
+  &quot; Wraps atoms in a list; does nothing if `x' is already a list.&quot;
+  (check x alist list.x))
 
 *
 ; combinators
@@ -336,7 +339,7 @@
        x)
 
     See also [[w/afn]] [[rfnwith]] [[rfn]] &quot;
-  `(rfnwith ,name ,(mappend [list _ _] withses) ,@body))
+  `(rfnwith ,name ,(mappend [list _ _] mklist.withses) ,@body))
 
 (mac w/afn (withses . body)
   &quot; Convenient wrapper for applying an afn using the preexisting variables</diff>
      <filename>lib/util.arc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e05eedb15f20af392ce8d0ac88e99653b04dc91f</id>
    </parent>
  </parents>
  <author>
    <name>Justin Kendrick</name>
    <email>twilightsentry@gmail.com</email>
  </author>
  <url>http://github.com/nex3/arc/commit/4576b309fe877293803970a5e235fcdf48c2d08a</url>
  <id>4576b309fe877293803970a5e235fcdf48c2d08a</id>
  <committed-date>2009-09-29T12:13:16-07:00</committed-date>
  <authored-date>2009-09-29T12:13:16-07:00</authored-date>
  <message>allow 'w/rfn to accept a single arg as an atom</message>
  <tree>c5793a3abf246c8fe5a7fcd8433fbc7eadd56909</tree>
  <committer>
    <name>Justin Kendrick</name>
    <email>twilightsentry@gmail.com</email>
  </committer>
</commit>
