Module

Data.NonEmpty.Extras

Package
purescript-probability
Repository
colehaus/purescript-probability

#hmap Source

hmap :: forall f g. (f ~> g) -> (NonEmpty f) ~> (NonEmpty g)

#map Source

map :: forall a b f. ((a -> b) -> f a -> f b) -> (a -> b) -> NonEmpty f a -> NonEmpty f b