Skip to content

Conversions between lazy and strict StateT #139

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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