Skip to content

Commit

Permalink
fix typo (#47875)
Browse files Browse the repository at this point in the history
  • Loading branch information
emergenz authored Dec 12, 2022
1 parent 4ff7072 commit 4ad6aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ julia> ["a", "list", "of", "strings"] .|> [uppercase, reverse, titlecase, length
7
```

When combining pipes with anonymous functions, parentheses must be used if subsequent pipes are not to parsed as part of the anonymous function's body. Compare:
When combining pipes with anonymous functions, parentheses must be used if subsequent pipes are not to be parsed as part of the anonymous function's body. Compare:

```jldoctest
julia> 1:3 .|> (x -> x^2) |> sum |> sqrt
Expand Down

0 comments on commit 4ad6aef

Please sign in to comment.