Major item refactor, still broken
This commit is contained in:
@@ -19,6 +19,12 @@ newtype NewIntMap a b = NIntMap { _unNIntMap :: IM.IntMap b}
|
||||
deriving newtype (Monoid,Semigroup)
|
||||
deriving (Eq,Ord,Show,Read)
|
||||
|
||||
--instance Ixed (NewIntMap (NewInt a)) where
|
||||
-- type Index (NewIntMap (NewInt a)) = NewInt a
|
||||
-- type Index (NewIntMap (NewInt a)) = NewInt a
|
||||
-- ix :: (NewInt a) -> IndexedTraversal' (NewIntMap (NewInt a))
|
||||
-- ix (NInt k) (NewIntMap m) = NIntMap <$> ix k m
|
||||
|
||||
makeLenses ''NewInt
|
||||
makeLenses ''NewIntMap
|
||||
deriveJSON defaultOptions ''NewInt
|
||||
|
||||
Reference in New Issue
Block a user