Module

Data.NonEmpty.Extras

Package
purescript-probability
Repository
colehaus/purescript-probability

#hmap Source

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

#map Source

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