mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
📝 Store.
This commit is contained in:
parent
d156b2d1d1
commit
ba6d00f900
@ -10,6 +10,7 @@ import Data.Pointed
|
|||||||
import Data.Semigroup
|
import Data.Semigroup
|
||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
|
|
||||||
|
-- | A map of addresses onto cells holding their values.
|
||||||
newtype Store l a = Store { unStore :: Map.Map l (Cell l a) }
|
newtype Store l a = Store { unStore :: Map.Map l (Cell l a) }
|
||||||
deriving (Generic1, Monoid, Semigroup)
|
deriving (Generic1, Monoid, Semigroup)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user