Module

Math.Probability.Information.Value.Utility

Package
purescript-value-of-information
Repository
colehaus/purescript-value-of-information

#second Source

second :: forall c b a. (b -> c) -> Tuple a b -> Tuple a c

#unfoldNEMap Source

unfoldNEMap :: forall v k. Ord k => NonEmpty Map k v -> List (Tuple k v)

#unsafeNonEmptyBecause Source

#nonEmptyToSet Source

nonEmptyToSet :: forall a t. Foldable t => Ord a => NonEmpty t a -> NonEmpty Set a

#unsafeFromRightBecause Source

unsafeFromRightBecause :: forall b a. String -> Either a b -> b

#unsafeFromJustBecause Source

unsafeFromJustBecause :: forall a. String -> Maybe a -> a

#nonEmptyMap Source

nonEmptyMap :: forall v k. Ord k => Map k v -> Maybe (NonEmpty Map k v)

#nonEmptySet Source

nonEmptySet :: forall a. Ord a => Set a -> Maybe (NonEmpty Set a)

#unsafeNonEmptyMapBecause Source

unsafeNonEmptyMapBecause :: forall v k. Ord k => String -> Map k v -> NonEmpty Map k v

#unsafeLookupBecause Source

unsafeLookupBecause :: forall v k. Ord k => String -> k -> Map k v -> v

#duplicates Source

duplicates :: forall t k. Ord k => Foldable t => Functor t => t k -> Set k