Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Strict lazy strict | lazy -> strict, strict -> lazy where Source #
Ad hoc conversion between "strict" and "lazy" versions of a structure.
Unfortunately all externally defined instances are doomed to be orphans: https://gitlab.haskell.org/ghc/ghc/-/issues/11999 See also https://qfpl.io/posts/orphans-and-fundeps/index.html for
Instances
Strict ByteString ByteString Source # | |
Defined in Data.Strict.Classes toStrict :: ByteString0 -> ByteString Source # toLazy :: ByteString -> ByteString0 Source # | |
Strict Text Text Source # | |
Strict (Maybe a) (Maybe a) Source # | |
Strict (Either a b) (Either a b) Source # | |
Strict (a, b) (Pair a b) Source # | |
Strict (ST s a) (ST s a) Source # | |
Strict (These a b) (These a b) Source # | |
Strict (WriterT w m a) (WriterT w m a) Source # | |
Strict (StateT s m a) (StateT s m a) Source # | |
Strict (RWST r w s m a) (RWST r w s m a) Source # | |