Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
isProperSubmapOf :: Eq a => Word64Map a -> Word64Map a -> Boolghc GHC.Data.Word64Map.Strict.Internal Is this a proper submap? (ie. a submap but not equal). Defined as (isProperSubmapOf = isProperSubmapOfBy (==)).
isProperSubmapOfBy :: (a -> b -> Bool) -> Word64Map a -> Word64Map b -> Boolghc GHC.Data.Word64Map.Strict.Internal Is this a proper submap? (ie. a submap but not equal). The expression (isProperSubmapOfBy f m1 m2) returns True when keys m1 and keys m2 are not equal, all keys in m1 are in m2, and when f returns True when applied to their respective values. For example, the following expressions are all True:
isProperSubmapOfBy (==) (fromList [(1,1)]) (fromList [(1,1),(2,2)]) isProperSubmapOfBy (<=) (fromList [(1,1)]) (fromList [(1,1),(2,2)])
But the following are all False:isProperSubmapOfBy (==) (fromList [(1,1),(2,2)]) (fromList [(1,1),(2,2)]) isProperSubmapOfBy (==) (fromList [(1,1),(2,2)]) (fromList [(1,1)]) isProperSubmapOfBy (<) (fromList [(1,1)]) (fromList [(1,1),(2,2)])
isSubmapOf :: Eq a => Word64Map a -> Word64Map a -> Boolghc GHC.Data.Word64Map.Strict.Internal Is this a submap? Defined as (isSubmapOf = isSubmapOfBy (==)).
isSubmapOfBy :: (a -> b -> Bool) -> Word64Map a -> Word64Map b -> Boolghc GHC.Data.Word64Map.Strict.Internal The expression (isSubmapOfBy f m1 m2) returns True if all keys in m1 are in m2, and when f returns True when applied to their respective values. For example, the following expressions are all True:
isSubmapOfBy (==) (fromList [(1,1)]) (fromList [(1,1),(2,2)]) isSubmapOfBy (<=) (fromList [(1,1)]) (fromList [(1,1),(2,2)]) isSubmapOfBy (==) (fromList [(1,1),(2,2)]) (fromList [(1,1),(2,2)])
But the following are all False:isSubmapOfBy (==) (fromList [(1,2)]) (fromList [(1,1),(2,2)]) isSubmapOfBy (<) (fromList [(1,1)]) (fromList [(1,1),(2,2)]) isSubmapOfBy (==) (fromList [(1,1),(2,2)]) (fromList [(1,1)])
-
ghc GHC.Data.Word64Set.Internal No documentation available.
-
ghc GHC.Data.Word64Set.Internal No documentation available.
Opt_D_dump_cmm_procmap :: DumpFlagghc GHC.Driver.DynFlags No documentation available.
Opt_D_dump_mod_map :: DumpFlagghc GHC.Driver.DynFlags No documentation available.
Opt_FamAppCache :: GeneralFlagghc GHC.Driver.DynFlags No documentation available.
Opt_InfoTableMap :: GeneralFlagghc GHC.Driver.DynFlags No documentation available.