Skip to content

Commit

Permalink
(docs) fix invalid expression + #420
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 23, 2024
1 parent d648cef commit ec60a7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/docs/lips/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ LIPS define `#null` and `#void` as Parser constants so they can be used inside q
;; ==> #f
```

**NOTE** `#null` is the same as JavaScript `null` value and it's a false value. Similar to
:::info

`#null` is the same as JavaScript `null` value and it's a false value. Similar to
[Kawa Scheme](https://www.gnu.org/software/kawa/index.html) that use `#!null`.

`#void` constants is the same as result of `(value)` or `(if #f #f)`. In Scheme it's unspecified value,
:::

`#void` constants is the same as result of `(values)` or `(if #f #f)`. In Scheme it's unspecified value,
but in LIPS it's JavaScript undefined. `#void` is not false value.

```scheme
Expand Down

0 comments on commit ec60a7f

Please sign in to comment.