napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Relude.Extra.Aeson2Orphans

Orphan instances

Default Key # 
Instance details

Methods

def :: Key #

Buildable Key # 
Instance details

Methods

build :: Key -> Builder #

Default (KeyMap Value) # 
Instance details

Methods

def :: KeyMap Value #

DynamicMap (KeyMap v) # 
Instance details

Methods

insert :: Key (KeyMap v) -> Val (KeyMap v) -> KeyMap v -> KeyMap v #

insertWith :: (Val (KeyMap v) -> Val (KeyMap v) -> Val (KeyMap v)) -> Key (KeyMap v) -> Val (KeyMap v) -> KeyMap v -> KeyMap v #

delete :: Key (KeyMap v) -> KeyMap v -> KeyMap v #

alter :: (Maybe (Val (KeyMap v)) -> Maybe (Val (KeyMap v))) -> Key (KeyMap v) -> KeyMap v -> KeyMap v #

StaticMap (KeyMap v) # 
Instance details

Associated Types

type Key (KeyMap v) 
Instance details

Defined in Relude.Extra.Aeson2Orphans

type Key (KeyMap v) = Key
type Val (KeyMap v) 
Instance details

Defined in Relude.Extra.Aeson2Orphans

type Val (KeyMap v) = v

Methods

size :: KeyMap v -> Int #

lookup :: Key (KeyMap v) -> KeyMap v -> Maybe (Val (KeyMap v)) #

member :: Key (KeyMap v) -> KeyMap v -> Bool #