[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-markup-function problem
From: |
Kieren MacMillan |
Subject: |
Re: define-markup-function problem |
Date: |
Thu, 29 Jan 2009 09:12:26 -0500 |
Hi Carl,
So we have the following, which all work:
#(define-markup-command (test layout props stringA stringB) (string?
string?)
(interpret-markup layout props
(markup (#:column (stringA stringB)))))
#(define-markup-command (test layout props stringA stringB) (string?
string?)
(interpret-markup layout props
(markup #:column (cons stringA stringB))))
#(define-markup-command (test layout props stringA stringB) (string?
string?)
(interpret-markup layout props
(markup (make-column-markup (list stringA stringB)))))
Which is "better code", and why?
Thanks,
Kieren.