Skip to content

Conversions between lazy and strict StateT #139

@treeowl

Description

@treeowl

Should there be functions to convert between strict and lazy StateT variants?

strictToLazyStateT :: Strict.StateT s m a -> Lazy.StateT s m a
strictToLazyStateT (Strict.StateT f) = Lazy.StateT f

lazyToStrictStateT :: Lazy.StateT s m a -> Strict.StateT s m a
lazyToStrictStateT (Lazy.StateT f) = Strict.StateT f

Metadata

Metadata

Assignees

No one assigned

    Labels

    transformersBlocked on upstream transformers change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions