1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

List the exports explicitly.

This commit is contained in:
Rob Rix 2017-08-31 23:22:25 -04:00
parent 6929b6955d
commit 6da1cf9a0e

View File

@ -1,8 +1,15 @@
module Data.Syntax.Assignment.Table.IntMap where
module Data.Syntax.Assignment.Table.IntMap
( Table(tableAddresses)
, singleton
, fromListWith
, toList
, lookup
) where
import Data.Bifunctor (first)
import Data.Functor.Classes
import qualified Data.IntMap as IntMap
import Prelude hiding (lookup)
data Table i a = Table { tableAddresses :: [i], tableBranches :: IntMap.IntMap a }
deriving (Eq, Foldable, Functor, Show, Traversable)