Skip to content
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

Remove math mode mentions, move short hand syntax documentation #257

Merged
merged 4 commits into from
Mar 7, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove math mode from lists page, no longer necessary
  • Loading branch information
rgwood committed Mar 7, 2022
commit 18a5b137b5e5e579fbc8058bdabf84386820581f
5 changes: 1 addition & 4 deletions book/working_with_lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ let colors = []
= $colors | empty? # true
```

The `in` and `not in` operators are used to test whether a value is in a list.
Operators can only be used in "math mode".
One way to enter math mode is to begin an expression with `=`.
For example:
The `in` and `not in` operators are used to test whether a value is in a list. For example:

```bash
let colors = [red green blue]
Expand Down