Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Strict lazy strict | lazy -> strict, strict -> lazy where #
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 # | |
Defined in Data.Strict.Classes toStrict :: ByteString0 -> ByteString # toLazy :: ByteString -> ByteString0 # | |
Strict Text Text # | |
Strict (Maybe a) (Maybe a) # | |
Strict (Either a b) (Either a b) # | |
Strict (a, b) (Pair a b) # | |
Strict (ST s a) (ST s a) # | |
Strict (These a b) (These a b) # | |
Strict (WriterT w m a) (WriterT w m a) # | |
Strict (StateT s m a) (StateT s m a) # | |
Strict (RWST r w s m a) (RWST r w s m a) # | |