From e6e35d643c3c8ca85a77dfec29217b347331aa73 Mon Sep 17 00:00:00 2001 From: "Dr. Carsten Leue" Date: Tue, 13 Feb 2024 14:25:56 +0100 Subject: [PATCH] fix: update doc Signed-off-by: Dr. Carsten Leue --- state/state.go | 1 + 1 file changed, 1 insertion(+) diff --git a/state/state.go b/state/state.go index 8d7ea77..c0ab3d0 100644 --- a/state/state.go +++ b/state/state.go @@ -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] {