[Haskell-cafe] Extensible states

Silvio Frischknecht silvio.frischi at gmail.com
Sun Jul 5 21:07:21 UTC 2015


> add :: LabelName -> a -> State ()
> gets :: LabelName -> State (Maybe a)

I think that's more or less what STRef does. No extendable records though.

Cheers

Silvio


More information about the Haskell-Cafe mailing list