prism

package
v1.0.60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrismAsOptional

func PrismAsOptional[S, A any](sa P.Prism[S, A]) OPT.Optional[S, A]

PrismAsOptional converts a prism into an optional

func PrismSome

func PrismSome[A any]() P.Prism[O.Option[A], A]

func Some

func Some[S, A any](soa OPT.Optional[S, O.Option[A]]) OPT.Optional[S, A]

Some returns a `Optional` from a `Optional` focused on the `Some` of a `Option` type.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL