mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-24 07:14:04 +03:00
Fix haddock
This commit is contained in:
parent
2dd351c0cb
commit
4df9fd683f
@ -21,7 +21,7 @@ import GHC.TypeLits
|
||||
type Effect = (Type -> Type) -> Type -> Type
|
||||
|
||||
-- | A constraint that requires that a particular effect @e@ is a member of the
|
||||
-- type-level list @es@. This is used to parameterize an 'Effectful.Monad.Eff'
|
||||
-- type-level list @es@. This is used to parameterize an 'Effectful.Eff'
|
||||
-- computation over an arbitrary list of effects, so long as @e@ is /somewhere/
|
||||
-- in the list.
|
||||
--
|
||||
@ -29,7 +29,7 @@ type Effect = (Type -> Type) -> Type -> Type
|
||||
-- 'Integer' would have the following type:
|
||||
--
|
||||
-- @
|
||||
-- 'Effectful.State.Static.Local.State' 'Integer' ':>' es => 'Effectful.Monad.Eff' es ()
|
||||
-- 'Effectful.State.Static.Local.State' 'Integer' ':>' es => 'Effectful.Eff' es ()
|
||||
-- @
|
||||
class (e :: Effect) :> (es :: [Effect]) where
|
||||
-- | Get the position of @e@ in @es@.
|
||||
|
@ -35,8 +35,8 @@ import Effectful.Internal.Utils
|
||||
----------------------------------------
|
||||
-- Unlift strategies
|
||||
|
||||
-- | The strategy to use when unlifting 'Effectful.Monad.Eff' computations via
|
||||
-- 'Control.Monad.IO.Unlift.withRunInIO', 'Effectful.Monad.withEffToIO' or the
|
||||
-- | The strategy to use when unlifting 'Effectful.Eff' computations via
|
||||
-- 'withRunInIO', 'Effectful.withEffToIO' or the
|
||||
-- 'Effectful.Dispatch.Dynamic.localUnlift' family.
|
||||
data UnliftStrategy
|
||||
= SeqUnlift
|
||||
|
Loading…
Reference in New Issue
Block a user