mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
Stub in a Domain effect with abstraction & concretization operations.
This commit is contained in:
parent
374f90dc7e
commit
e8a4749653
@ -1,7 +1,15 @@
|
||||
{-# LANGUAGE DeriveFunctor #-}
|
||||
module Analysis.Effect.Domain
|
||||
( -- * Re-exports
|
||||
Carrier
|
||||
( -- * Domain effect
|
||||
Domain(..)
|
||||
-- * Re-exports
|
||||
, Carrier
|
||||
, run
|
||||
) where
|
||||
|
||||
import Control.Effect.Carrier
|
||||
|
||||
data Domain term value m k
|
||||
= Abstract term (value -> m k)
|
||||
| Concretize value (term -> m k)
|
||||
deriving (Functor)
|
||||
|
Loading…
Reference in New Issue
Block a user