1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

📝 Store.

This commit is contained in:
Rob Rix 2017-12-20 17:16:01 -05:00
parent d156b2d1d1
commit ba6d00f900

View File

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