[postmodern-devel] patch for array slicing

Nicolas Martyanoff khaelin at gmail.com
Sun Apr 24 22:19:43 UTC 2011


Hi,

I wrote a tiny patch to add support for array slicing:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-modify-to-allow-array-slicing.patch
Type: text/x-patch
Size: 2099 bytes
Desc: array slicing patch
URL: <https://mailman.common-lisp.net/pipermail/postmodern-devel/attachments/20110425/320f880f/attachment.bin>
-------------- next part --------------

So now:

   (:[] #(1 2 4 8) 3) ? "(ARRAY[1,2,4,8])[3]"
   (:[] #(1 2 4 8) 2 4) ? "(ARRAY[1,2,4,8])[2:4]"

I hope you will find it useful.

Best regards,

-- 
Nicolas Martyanoff
   http://codemore.org
   khaelin at gmail.com


More information about the postmodern-devel mailing list