On 11 Jan., 18:59, kenny <kentil...@gmail.com> wrote:
> On Jan 11, 10:45 am, Matus Kmit <simply.nit...@gmail.com> wrote:Thanks all for your help. I got it.
> > Hi
> > I have this macro:
> > (defmacro format-time (one &optional two &key format-fn)
> > If I try to macroexpand it with (macroexpand '(format-time (normalize-
> > Odd length keyword list: (FORMAT)
> > What is wrong?
> Answered elsewhere, I presume. Meanwhile, you are pretty much doomed
> (defmacro format-time ((one &optional two) &key (format-fn 'format))
> I threw in the default value for format-fn, which you really should
More or less an experiment, while being bored at work and messing
> Supermeanwhile: why is this a macro?
aroung with lisp trying to understand macros, eval, parameter types,
On the other hand I was looking for a way how to splice parameters
(apply #'format t (cons "~a:~a" (normalize-consed-time '(1 . 2))))
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.