Module

Math.Probability.Information.Value.Utility

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

#second Source

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

#unfoldNEMap Source

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

#unsafeNonEmptyBecause Source

#nonEmptyToSet Source

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

#unsafeFromRightBecause Source

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

#unsafeFromJustBecause Source

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

#nonEmptyMap Source

nonEmptyMap :: forall k v. 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 k v. Ord k => String -> Map k v -> NonEmpty Map k v

#unsafeLookupBecause Source

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

#duplicates Source

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