Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch committed Jan 1, 2024
1 parent 0bfa47a commit 1e56fea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ along with associated configuration and helper files,
including the Lissp syntax highlighter.
A significant additional portion of Hissp's rendered documentation is derived from
docstrings in Hissp's source code (the API docs).

## Quick Links
${\boldsymbol {\color{royalblue}{(}\color{green}{\textsf -}\color{gold}{)}\color{gainsboro}{\kern-1.5pt{\textsf :}}}}$
[Rendered Documentation ](https://hissp.readthedocs.io/) 🢦 START HERE.
Expand Down
2 changes: 1 addition & 1 deletion docs/lissp_whirlwind_tour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ Lissp Whirlwind Tour
;;; on local variables, which can't be imported. For these, we use a $#
;;; (gensym) which (instead of a qualifier) adds a prefix to ensure a
;;; variable can only be used in the same template it was defined in. It
;;; contains a hash of the following, the code being read, __name__, and
;;; contains a hash of three things: the code being read, __name__, and
;;; a count of the templates the reader has seen so far.

#> `($#eggs $#spam $#bacon $#spam)
Expand Down
18 changes: 9 additions & 9 deletions src/hissp/macros.lissp
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.

(defmacro X\# e
<<#
;; ``X#`` Anaphoric. Make ``e`` an anonymous function with paramter X.
;; ``X#`` Anaphoric. Make ``e`` an anonymous function with parameter X.
;;
;; Examples:
;;
Expand Down Expand Up @@ -764,7 +764,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.
`(lambda ,'X ,e))

(defmacro XY\# e
"``XY#`` Anaphoric. Make ``e`` an anonymous function with paramters X Y.
"``XY#`` Anaphoric. Make ``e`` an anonymous function with parameters X Y.

.. code-block:: REPL

Expand All @@ -783,7 +783,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.

(defmacro XYZ\# e
<<#
;; ``XYZ#`` Anaphoric. Make ``e`` an anonymous function with paramters X Y Z.
;; ``XYZ#`` Anaphoric. Make ``e`` an anonymous function with parameters X Y Z.
;;
;; .. code-block:: REPL
;;
Expand All @@ -801,7 +801,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.

(defmacro XYZW\# e
<<#
;; ``XYZW#`` Anaphoric. Make ``e`` an anonymous function with paramters X Y Z W.
;; ``XYZW#`` Anaphoric. Make ``e`` an anonymous function with parameters X Y Z W.
;;
;; .. code-block:: REPL
;;
Expand Down Expand Up @@ -1870,7 +1870,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.
<<#
;; ``@`` 'list of' Mnemonic: @rray list.
;;
;; Creates the `list` from each expresssion's result.
;; Creates the `list` from each expression's result.
;; A ``:*`` unpacks the next argument.
;;
;; .. code-block:: REPL
Expand Down Expand Up @@ -2029,7 +2029,7 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.
;; return k
;;
;; ``Ensue`` takes a step function and returns a generator. The step
;; function recieves the previous Ensue step and must return the next
;; function receives the previous Ensue step and must return the next
;; one to continue. Returning a different type raises a `StopIteration`
;; with that object. Set the ``Y`` attribute on the current step to
;; [Y]ield a value this step. Set the ``F`` attribute to a true value
Expand Down Expand Up @@ -2342,10 +2342,10 @@ Hidden doctest adds bundled macros for REPL-consistent behavior.
;; >>> echo.send(
;; ... None)
;;
;; #> (.send echo "Yodle!") ; Generators are two-way.
;; #> (.send echo "Yodel!") ; Generators are two-way.
;; >>> echo.send(
;; ... ('Yodle!'))
;; 'Yodle!'
;; ... ('Yodel!'))
;; 'Yodel!'
;;
;; #> (.send echo 42)
;; >>> echo.send(
Expand Down

0 comments on commit 1e56fea

Please sign in to comment.