Fresnel.Ixed
Contents
class Ixed c where Source #
Associated Types
type Index c Source #
type IxValue c Source #
Methods
ix :: Index c -> Optional' c (IxValue c) Source #
Defined in Fresnel.Ixed
type Index IntSet Source #
type IxValue IntSet Source #
ix :: Index IntSet -> Optional' IntSet (IxValue IntSet) Source #
type Index (NonEmpty v) Source #
type IxValue (NonEmpty v) Source #
ix :: Index (NonEmpty v) -> Optional' (NonEmpty v) (IxValue (NonEmpty v)) Source #
type Index (IntMap v) Source #
type IxValue (IntMap v) Source #
ix :: Index (IntMap v) -> Optional' (IntMap v) (IxValue (IntMap v)) Source #
type Index (Set k) Source #
type IxValue (Set k) Source #
ix :: Index (Set k) -> Optional' (Set k) (IxValue (Set k)) Source #
type Index (HashSet k) Source #
type IxValue (HashSet k) Source #
ix :: Index (HashSet k) -> Optional' (HashSet k) (IxValue (HashSet k)) Source #
type Index (Maybe a) Source #
type IxValue (Maybe a) Source #
ix :: Index (Maybe a) -> Optional' (Maybe a) (IxValue (Maybe a)) Source #
type Index [v] Source #
type IxValue [v] Source #
ix :: Index [v] -> Optional' [v] (IxValue [v]) Source #
type Index (Map k v) Source #
type IxValue (Map k v) Source #
ix :: Index (Map k v) -> Optional' (Map k v) (IxValue (Map k v)) Source #
type Index (HashMap k v) Source #
type IxValue (HashMap k v) Source #
ix :: Index (HashMap k v) -> Optional' (HashMap k v) (IxValue (HashMap k v)) Source #
ixSet :: (Index c -> c -> Bool) -> (Index c -> c -> c) -> Index c -> Optional' c () Source #
ixMap :: (Index c -> c -> Maybe (IxValue c)) -> (Index c -> IxValue c -> c -> c) -> Index c -> Optional' c (IxValue c) Source #
ixList :: Int -> Optional' [a] a Source #