I know this thread is kind of dead, but I could not help but point out
that traditional closures have a more immediate mapping onto
quotations in factor than Pinochio indicates in his post above. The
factor word '[ provides a kind of intelligent quotation construction
(similar to backquote in lis
I was a little surprised that fold was not a standard function but I
didn't run my mouth off about it - just typed "reduce" into the repl
and found out it was called that instead.
On Jun 17, 5:45 pm, Wrexsoul wrote:
> On Jun 17, 2:47 pm, Kyle Schaffrick wrote:
>
> > As a friendly suggestion, I
Doesn't apply have a limit on the length of the arguments passed, too?
On Jul 16, 7:22 am, Jan Rychter wrote:
> Jarkko Oranen writes:
> > On Jul 15, 1:54 pm, Jan Rychter wrote:
> >> I've been looking for a function that would take a seq and create a list
> >> (a real clojure.lang.PersistentLis
When I encountered this post, my instinct was to suggest that he write
a specific macro to bind these particular variables rather than depend
on magic to make new bindings at run-time from symbols known only at
run-time, a la:
(defmacro with-a-b-c [m & body] `(let [mp# ,mp] a (:a mp#) b (:b mp#)
Meikel,
What concerns me is that this macro lets you write code which depends
on names which are not present at compile time (someplace). Coming
from scheme, not only would you _not_ do this, but you _can't_ do it
without using eval in your macro body, which is considered bad form.
That we can d
or use with CLOS objects. It is similar
reasoning which requires you name the slots you want to access when
using with-slots.
On Aug 10, 3:10 pm, jvt wrote:
> Meikel,
>
> What concerns me is that this macro lets you write code which depends
> on names which are not prese
Not true, actually. The latest octaves support c code, if you can
recompile it yourself. It is pretty easy.
On Sep 12, 2:41 pm, Stuart Sierra wrote:
> On Sep 12, 12:17 pm, Max Suica wrote:
>
> > You might look at Octave, which is an open source clone of matlab, but
> > with nothing like simu