Skip to content

Commit

Permalink
Docs for traversable
Browse files Browse the repository at this point in the history
  • Loading branch information
gusty committed Jan 28, 2024
1 parent bb4d75a commit 0cbc830
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docsrc/content/abstraction-traversable.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@ Minimal complete definition
* ``traverse f x`` | ``sequence x``
*)
(**
static member Traverse (t:'Traversable<'T>, f: 'T -> 'Functor<'U>) : 'Functor<'Traversable<'U>>
static member Sequence (t:'Traversable<'Functor<'T>>) : 'Functor<'Traversable<'T>>
static member Traverse (t: 'Traversable<'T>, f: 'T -> 'Applicative<'U>) : 'Applicative<'Traversable<'U>>
static member Sequence (t: 'Traversable<'Applicative<'T>>) : 'Applicative<'Traversable<'T>>
*)
(**
Other operations
----------------
* ``gather f x`` | ``transpose x`` (same as traverse and sequence but operating on ZipApplicatives)
*)
(**
static member Gather (t: 'Traversable<'T>, f: 'T -> 'ZipApplicative<'U>) : 'ZipApplicative<'Traversable<'U>>
static member Transpose (t: 'Traversable<'ZipApplicative<'T>>) : 'ZipApplicative<'Traversable<'T>>
*)
(**
Expand Down

0 comments on commit 0cbc830

Please sign in to comment.