mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 03:35:30 -05:00
fix CCFun.tap example in doc
This commit is contained in:
parent
d086a617f3
commit
90e96e6339
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ val tap : ('a -> _) -> 'a -> 'a
|
||||||
in a pipeline, for instance:
|
in a pipeline, for instance:
|
||||||
{[CCArray.(1 -- 10)
|
{[CCArray.(1 -- 10)
|
||||||
|> tap CCArray.shuffle
|
|> tap CCArray.shuffle
|
||||||
|> tap CCArray.sort Pervasives.compare
|
|> tap @@ CCArray.sort Pervasives.compare
|
||||||
]}
|
]}
|
||||||
*)
|
*)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue