diff options
| author | Nick | 2021-10-02 23:41:00 -0400 |
|---|---|---|
| committer | GitHub | 2021-10-02 23:41:00 -0400 |
| commit | 7360c81509420fdf94962abed42cd19de7331619 (patch) | |
| tree | 17cc05a738bae15c2aaa893a64306c7f6e3f1fd2 /docs/src/explanations/functional-abstraction.md | |
| parent | 92f1ace73c85de859082eaa917eaacfce026fdf8 (diff) | |
Fix typos in documentation (#2141)
Close #2138
Diffstat (limited to 'docs/src/explanations/functional-abstraction.md')
| -rw-r--r-- | docs/src/explanations/functional-abstraction.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/explanations/functional-abstraction.md b/docs/src/explanations/functional-abstraction.md index 4e3900b6..596d869a 100644 --- a/docs/src/explanations/functional-abstraction.md +++ b/docs/src/explanations/functional-abstraction.md @@ -23,10 +23,10 @@ def clb(a: UInt, b: UInt, c: UInt, d: UInt): UInt = where ```clb``` is the function which takes ```a```, ```b```, ```c```, ```d``` as arguments and returns a wire to the output of a boolean circuit. The ```def``` keyword is part of Scala and -introduces a function definition, with each argument followed by a colon then its type, -and the function return type given after the colon following the -argument list. The equals (```=})```sign separates the function argument list from the function -definition. +introduces a function definition, with each argument followed by a colon then +its type, and the function return type given after the colon following the +argument list. The equals (`=`) sign separates the function argument list +from the function definition. We can then use the block in another circuit as follows: ```scala mdoc:silent |
