mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Derive Foldable, Functor, & Traversable instances.
This commit is contained in:
parent
238d0fdb4a
commit
a827e8d331
@ -7,6 +7,7 @@ import Data.Foldable (toList)
|
||||
import Data.Functor.Classes
|
||||
|
||||
data Table i a = Table { tableAddresses :: [i], tableBranches :: Array i (Maybe a) }
|
||||
deriving (Foldable, Functor, Traversable)
|
||||
|
||||
|
||||
instance (Ix i, Show i) => Show1 (Table i) where
|
||||
|
Loading…
Reference in New Issue
Block a user