Skip to content

Commit

Permalink
README: script example with HTTP, JSON, arrow macro, fast startup time
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Apr 22, 2024
1 parent fc54b6c commit 4b12cfe
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/README.md
Expand Up @@ -12,7 +12,25 @@ It comes in 3 forms:

Questions, doubts? See the [FAQ](FAQ.md).

Status: it's a work in progress. I use it for clients' projects.
Status: it's a work in progress. I deployed it for client projects.

```lisp
#!/usr/bin/env ciel
(-> "https://fakestoreapi.com/products?limit=5"
http:get
json:read-json
(elt 0)
(access "title"))
```

```bash
$ chmodx +x getproduct.lisp
$ time ./getproduct.lisp
"Fjallraven - Foldsack No…ckpack, Fits 15 Laptops"
./getproduct.lisp 0.10s user 0.02s system 24% cpu 0.466 total
```



## Rationale
Expand Down

0 comments on commit 4b12cfe

Please sign in to comment.