Skip to content

Commit

Permalink
add the usage section
Browse files Browse the repository at this point in the history
  • Loading branch information
Civitasv committed Jan 17, 2023
1 parent 50d1e36 commit 8aa71e0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,31 @@

> Make use of modern C++ and RAII.
## Usage

```sh
1 ]=> 1
;Value: 1
1 ]=> (+ 1 2)
;Value: 3
1 ]=> (define x 1)
;Value: x
1 ]=> (+ x 1)
;Value: 2
1 ]=> (define square (lambda (x) (* x x)))
;Value: square
1 ]=> (square 2)
;Value: 4
1 ]=> (if (> x 2) x 2)
;Value: 2
1 ]=> (cons 1 2)
;Value: '(1 2)
1 ]=> (car (cons 1 2))
;Value: 1
1 ]=> (cdr (cons 1 2))
;Value: 2
```
## Spec
```txt
Expand Down

0 comments on commit 8aa71e0

Please sign in to comment.