Skip to content

Commit 4fcaaa6

Browse files
committed
Add piping style save to docs
1 parent b4b8eca commit 4fcaaa6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/src/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ Likewise, saving might be as simple as
4848
save(filename, obj)
4949
```
5050

51+
You can also utilize a piping style to save values to files like this
52+
53+
```julia
54+
obj |> save(filename)
55+
```
56+
5157
If you just want to inspect a file to determine its format, then
5258

5359
```julia

0 commit comments

Comments
 (0)