io

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package io implements the IO type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ap

func Ap[A, B any](fab warp.IO[func(A) B], fa warp.IO[A]) warp.IO[B]

func ApFirst

func ApFirst[A, B any](fa warp.IO[A], fb warp.IO[B]) warp.IO[A]

func ApSecond

func ApSecond[A, B any](fa warp.IO[A], fb warp.IO[B]) warp.IO[B]

func Chain

func Chain[A, B any](ma warp.IO[A], f func(A) warp.IO[B]) warp.IO[B]

func ChainFirst

func ChainFirst[A, B any](ma warp.IO[A], f func(A) warp.IO[B]) warp.IO[A]

func ChainRec

func ChainRec[A, B any](init A, f func(A) warp.IO[func() (A, B, bool)]) warp.IO[B]

func Map

func Map[A, B any](fa warp.IO[A], f func(A) B) warp.IO[B]

func Of

func Of[A any](a A) warp.IO[A]

Types

This section is empty.

Jump to

Keyboard shortcuts

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