diff --git a/demo/templates/index.html b/demo/templates/index.html index 8e1c11e..9da4ec1 100644 --- a/demo/templates/index.html +++ b/demo/templates/index.html @@ -49,6 +49,12 @@ html, body { ; LISP input (import "sunlight") + +(defn square [x] + "This squares a function" + (* x x)) + + (for [x (kwapply (sunlight.openstates.legislators) {"state" "ma"})] (print x))