Skip to content

Commit

Permalink
Merge pull request #1 from positron/patch-2
Browse files Browse the repository at this point in the history
Suggested wording tweaks/typo
  • Loading branch information
zhming0 authored Nov 14, 2017
2 parents f3bace7 + 5cc23f7 commit ea0ef7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Basically, it is a syntax sugar around `with-redefs`.
`specs => var-symbol value-expr/functions`

Temporarily redefines `var` while executing `body`.
If the right-hand side of a spec is a value, then it equals to create a function constantly return the value (stub).
If the right-hand side of a spec is a function, then the var-symbol will temporaily be replaced by the function directly.
If the right-hand side of a spec is a value, then it will create a function constantly returning the value (stub).
If the right-hand side of a spec is a function, then the var-symbol will temporarily be replaced by the function.

### Example

Expand Down

0 comments on commit ea0ef7b

Please sign in to comment.