Skip to content

Commit

Permalink
Docs: 404 links, generic.md headlines, misc (#1091)
Browse files Browse the repository at this point in the history
- Reference - Prelude - Core Expander Syntax: the opening paragraph now
links to the reference of the `current-expander-context` instead of
404ing.
	- fixed comment spacing in the `core-expand` example.

- Reference - Standard Library - Generics: all the predefined types
starting with `<` failed to render on the site, this has been corrected
and they should now render correctly, including the sidebar content of
said types.


- Reference - Standard Library - Iterators: now correctly links to the
Guide explaining iterators.

- refer to "the guide" on in on the website itself as "Guide" with
uppercase G. This seemed to be a pattern in other parts of the docs.

- Reference - Standard Library - Syntax Parameters: link to the
`std/actor-v18/message.ss` instead of `actor`. `actor` does not exist,
only `actor-v18` and `actor-v13`. Is `v18` the correct one to link to?
  • Loading branch information
p1xelHer0 authored Dec 19, 2023
1 parent f573cdd commit 9d0c389
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 64 deletions.
6 changes: 3 additions & 3 deletions doc/reference/gerbil/prelude/core-expander-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Gerbil is a Meta-Scheme that bases the expansion of forms on the
context present while expanding.
When expanded by the compiler or interpreter a form could have very
different meanings depending on the
[current-expander-context](/reference/core-expander.html#current-expander-context).
[current-expander-context](/reference/gerbil/expander/#current-expander-context).


These syntactic forms come from the root context, which is the parent context
Expand Down Expand Up @@ -105,7 +105,7 @@ Include the contents of path, wrapped with a `begin`.
[(else body ...)])
<feature>:
(and feature ...) ; boolean and of `feature ...`
(and feature ...) ; boolean and of `feature ...`
(or feature ...) ; boolean or of `feature ...`
(not feature) ; negation of feature
id ; satisfied if `id` is bound as an identifier
Expand Down Expand Up @@ -159,7 +159,7 @@ Plain old Scheme `lambda`, without optional and keyword argument support
(case-lambda (lambda-formals body ...) ...)
```

### let-values letrec-values letrec*-values
### let-values letrec-values letrec\*-values
``` scheme
(let-values (((id ...) expr) ...) body ...)
(letrec-values (((id ...) expr) ...) body ...)
Expand Down
Loading

0 comments on commit 9d0c389

Please sign in to comment.