Skip to content

Commit

Permalink
fix: update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
  • Loading branch information
CarstenLeue committed Feb 13, 2024
1 parent 01d490b commit e6e35d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
G "github.com/IBM/fp-go/state/generic"
)

// State represents an operation on top of a current [State] that produces a value and a new [State]
type State[S, A any] R.Reader[S, P.Pair[A, S]]

func Get[S any]() State[S, S] {
Expand Down

0 comments on commit e6e35d6

Please sign in to comment.