Skip to content

doc for fapply - wrap in the same context as af? #211

@mbezjak

Description

@mbezjak

Docs for fapply

and return the result, wrapped in the same context as `av`.

Shouldn't it be the same context as af?

Using cats 2.2.0:

(m/fapply (maybe/just inc) (either/left 5))
=> #<Just 6>

(m/fapply (maybe/just inc) (either/right 5))
=> #<Just 6>

(m/fapply (maybe/nothing) (either/right 5))
=> #<Nothing>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions