1
1
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:
Rob Rix 2019-11-06 12:37:58 -05:00
parent 374f90dc7e
commit e8a4749653
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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)