Skip to content

Commit bb089dd

Browse files
committed
Converted commented code into example block.
1 parent 1983a03 commit bb089dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/examples/UserGuide/piping.jl

+2
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,15 @@ end
118118

119119
# What's nice about this approach is that if you want to remove some criteria, you can easily comment out the relevant parts. For example, if you're willing to consider older movies, just comment out the `Year >= 2000`.
120120

121+
```@example
121122
@chain movies begin
122123
@filter begin
123124
# Year >= 2000
124125
Rating >= 9
125126
end
126127
@slice 1:5
127128
end
129+
```
128130

129131
# ## Which approach to use?
130132

0 commit comments

Comments
 (0)