Skip to content

Commit

Permalink
Converted commented code into example block.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdpsingh committed Feb 26, 2024
1 parent 1983a03 commit bb089dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/examples/UserGuide/piping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,15 @@ end

# 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`.

```@example
@chain movies begin
@filter begin
# Year >= 2000
Rating >= 9
end
@slice 1:5
end
```

# ## Which approach to use?

Expand Down

0 comments on commit bb089dd

Please sign in to comment.