1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-07-15 01:24:23 +02:00

fix: update doc

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2024-02-13 14:25:56 +01:00
parent 01d490b710
commit e6e35d643c

View File

@ -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] {