Amend
This commit is contained in:
parent
510544e758
commit
83e495b1cb
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# HSX
|
# HSX
|
||||||
|
|
||||||
HSX (Hypertext S-expression) is a simple and powerful HTML5 generation library for Common Lisp, forked from [flute](https://github.com/ailisp/flute/), originally created by Bo Yao.
|
HSX (Hypertext S-expression) is a simple yet powerful HTML5 generation library for Common Lisp, forked from [flute](https://github.com/ailisp/flute/), originally created by Bo Yao.
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,7 @@
|
||||||
:type type
|
:type type
|
||||||
:props props
|
:props props
|
||||||
:children (flatten children)))
|
:children (flatten children)))
|
||||||
|
|
||||||
(defun flatten (x)
|
(defun flatten (x)
|
||||||
(labels ((rec (x acc)
|
(labels ((rec (x acc)
|
||||||
(cond ((null x) acc)
|
(cond ((null x) acc)
|
||||||
|
|
Loading…
Reference in a new issue