Skip to content

Typo fixes in Chapter 4 #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/04_errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ showError :: LispException -> T.Text
showError err =
case err of
(IOError txt) -> T.concat ["Error reading file: ", txt]
(NumArgs int args) -> T.concat ["Error Number Arguments, expected ", T.pack $ show int, " recieved args: ", unwordsList args]
(NumArgs int args) -> T.concat ["Error Number Arguments, expected ", T.pack $ show int, " received args: ", unwordsList args]
(LengthOfList txt int) -> T.concat ["Error Length of List in ", txt, " length: ", T.pack $ show int]
(ExpectedList txt) -> T.concat ["Error Expected List in funciton ", txt]
(ExpectedList txt) -> T.concat ["Error Expected List in function ", txt]
(TypeMismatch txt val) -> T.concat ["Error Type Mismatch: ", txt, showVal val]
(BadSpecialForm txt) -> T.concat ["Error Bad Special Form: ", txt]
(NotFunction val) -> T.concat ["Error Not a Function: ", showVal val]
Expand Down