mirror of
https://github.com/github/semantic.git
synced 2024-11-30 14:47:30 +03:00
Add a heading for Dom.
This commit is contained in:
parent
374c8f990d
commit
b6fac248f1
@ -23,6 +23,7 @@ module Analysis.Effect.Domain
|
||||
, dstring
|
||||
-- * Exceptions
|
||||
, ddie
|
||||
-- * Domain effect
|
||||
, Dom(..)
|
||||
) where
|
||||
|
||||
@ -83,6 +84,9 @@ dstring = send . DString
|
||||
ddie :: Has (Dom val) sig m => val -> m val
|
||||
ddie = send . DDie
|
||||
|
||||
|
||||
-- Domain effect
|
||||
|
||||
data Dom val m k where
|
||||
DVar :: Name -> Dom val m val
|
||||
DAbs :: Name -> (val -> m val) -> Dom val m val
|
||||
|
Loading…
Reference in New Issue
Block a user