ailisp/flute

children without attributes

Opened this issue · 0 comments

Hi,

I am impressed by flute - thank you.

I have a question: if I define an user-element and have no attributes for children, there is an error.

Example:

(define-element just-div ()
  (div children))

(just-div (a "a"))

There will be an "error-printing-object".

With a nil as attribute, the error is gone:

(define-element just-div ()
  (div nil children))

Is this a bug or a feature?

Regards,
Ulrich