Module

Neon.Class.HasMap

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasMap Source

class HasMap a  where

Represents types that can be mapped over. This is also know as a functor.

[1, 2, 3] :map (_ + 1) -- [2, 3, 4]

Members

  • map :: forall b c. (b -> c) -> a b -> a c

Instances