diff options
| author | 2021-11-04 13:35:15 +0100 | |
|---|---|---|
| committer | 2021-11-04 13:35:15 +0100 | |
| commit | ecfa3c8d81f3d0716d90686da3f1fd96cef0301b (patch) | |
| tree | 195813a4309afb095cc087e22bcd5ca8cf02ab01 /doc | |
| parent | Merge pull request #49 from pepe/discrete-test (diff) | |
Change def to defn in example
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/http.mdz | 2 |
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 |
