aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorJosef Pospíšil <josef.pospisil@laststar.eu>2021-11-04 13:35:15 +0100
committerJosef Pospíšil <josef.pospisil@laststar.eu>2021-11-04 13:35:15 +0100
commitecfa3c8d81f3d0716d90686da3f1fd96cef0301b (patch)
tree195813a4309afb095cc087e22bcd5ca8cf02ab01 /doc
parentMerge pull request #49 from pepe/discrete-test (diff)
Change def to defn in example
Diffstat (limited to 'doc')
-rw-r--r--doc/http.mdz2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/http.mdz b/doc/http.mdz
index d41ee8a..d206726 100644
--- a/doc/http.mdz
+++ b/doc/http.mdz
@@ -14,7 +14,7 @@ many clients, servers, and connections at once.
@codeblock[janet]```
(import spork/http)
-(def handler
+(defn handler
[req]
(def method (get req :method))
(case method