babynf-0.1.0.2: Library for generating parsers from ABNF
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.BAByNF.Core.RefDict

Documentation

data RefDict a b where Source #

Constructors

RefDict :: Ref a => [(a, b)] -> RefDict a b 

Instances

Instances details
(Show a, Show b) => Show (RefDict a b) Source # 
Instance details

Defined in Data.BAByNF.Core.RefDict

Methods

showsPrec :: Int -> RefDict a b -> ShowS #

show :: RefDict a b -> String #

showList :: [RefDict a b] -> ShowS #

lookup :: a -> RefDict a b -> [b] Source #

lookup1 :: a -> RefDict a b -> Maybe b Source #