Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Sanity Check

Name: Anonymous 2009-09-25 19:16

Bad idea?
(defmacro letret (return-binding bindings &body body)
  `(let ,(cons return-binding bindings)
     ,@body
     ,(first return-binding)))

(defmacro letret* (return-binding bindings &body body)
  `(let* ,(cons return-binding bindings)
     ,@body
     ,(first return-binding)))

Name: >>18 2009-09-26 6:20

>>17
Actually the LGPL isn't very suitable for a lot of CL implementations, which is why most are public domain or BSD or LLGPL. The thing about it is that the code gets linked into the main image, dynamic linking is uncommon (it can and is done in some cases, but as my previous post showed, most of the cases involve a form of static linking(for the lack of a better term)), so you need a special linking exception to the LGPL if you want to use it. Most free Lisp libraries end up being BSD/Public Domain or LLGPL. There's a few LGPL'ed ones, but that's mostly because originally the authors weren't aware of this issue, and it's too hard to contact everyone to change the license. Commercial Lisps also have special linking exceptions in their licenses (runtime licenses).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List