Search results

map :: forall a b f. Functor f => (a -> b) -> f a -> f b
P purescript-prelude M Data.Functor

Map k v represents maps from keys of type k to values of type v.

P purescript-ordered-collections M Data.Map.Internal
map :: forall a b. Ord b => (a -> b) -> Set a -> Set b

Maps over the values in a set.

This operation is not structure-preserving for sets, so is not a valid Functor. An example case: mapping const x over a set with n > 0 elements will result in a set with one element.

P purescript-ordered-collections M Data.Set
map :: forall a b. Ord b => (a -> b) -> NonEmptySet a -> NonEmptySet b

Maps over the values in a set.

This operation is not structure-preserving for sets, so is not a valid Functor. An example case: mapping const x over a set with n > 0 elements will result in a set with one element.

P purescript-ordered-collections M Data.Set.NonEmpty

Map k v represents maps from keys of type k to values of type v.

P purescript-maps M Data.Map
map :: forall a b m r. Monad m => (a -> b) -> Pipe a b m r

Apply a function to all values flowing downstream

P purescript-pipes M Pipes.Prelude
map :: forall a b. Ord b => (a -> b) -> Set a -> Set b

Maps over the values in a set.

This operation is not structure-preserving for sets, so is not a valid Functor. An example case: mapping const x over a set with n > 0 elements will result in a set with one element.

P purescript-sets M Data.Set
map :: Array Props -> Array ReactElement -> ReactElement
P purescript-react M React.DOM
map :: Array Props -> Array ReactElement -> ReactElement
P purescript-react M React.DOM.Dynamic
map :: forall e. Markup e -> Markup e
P purescript-smolder M Text.Smolder.HTML
map :: forall p i. Node HTMLmap p i
P purescript-halogen M Halogen.HTML.Elements
map :: forall a t. TypedArray a t => (t -> t) -> ArrayView a -> ArrayView a

Maps a new value over the typed array, creating a new buffer and typed array as well.

P purescript-arraybuffer M Data.ArrayBuffer.Typed
map :: Selector
P purescript-css M CSS.Elements
map :: forall a b. Hashable b => (a -> b) -> HashSet a -> HashSet b

Construct a new set by applying a function to each element of an input set.

If distinct inputs map to the same output, this changes the cardinality of the set, therefore hash set is not a Functor. Also, the order in which elements appear in the new set is entirely dependent on the hash function for type b.

P purescript-unordered-collections M Data.HashSet
map :: (Octet -> Octet) -> ByteString -> ByteString

Θ(n) Transform the bytes in the byte string.

P purescript-bytestrings M Data.ByteString
map :: forall f a b x y. IxFunctor f => (a -> b) -> f x y a -> f x y b
P purescript-indexed-monad M Control.Monad.Indexed.Qualified
map :: forall attrs attrs_. Union attrs attrs_ Props_map => Record attrs -> JSX
P purescript-react-basic M React.Basic.DOM.Generated
map :: forall a e. (ReactElement -> a) -> ReactWrapper -> Eff (enzyme :: ENZYME | e) (Array a)
P purescript-enzyme M Enzyme.ReactWrapper
map :: forall a e. (ReactElement -> a) -> ShallowWrapper -> Eff (enzyme :: ENZYME | e) (Array a)
P purescript-enzyme M Enzyme.ShallowWrapper
map :: forall a b. (a -> b) -> Seq a -> Seq b

O(n). Apply a function to every element within a sequence. Note that this function is performed lazily — the actual call is almost instantaneous, regardless of the length of the sequence, because the function is not applied to all elements immediately. The eventual running time (assuming all elements are later requested) is O(n), though.

P purescript-sequences M Data.Sequence
map :: forall a b f. ((a -> b) -> f a -> f b) -> (a -> b) -> NonEmpty f a -> NonEmpty f b
P purescript-probability M Data.NonEmpty.Extras
map :: forall a b p. Ord b => Semiring p => (a -> b) -> Dist p a -> Dist p b
P purescript-probability M Math.Probability
map :: forall v0 v1 f c. HasMap c f => ObjectOf c v0 => ObjectOf c v1 => ObjectOf c (f v0) => ObjectOf c (f v1) => c v0 v1 -> c (f v0) (f v1)
P purescript-subcategory M Control.Subcategory.Endofunctor.HasMap
map :: forall v0 v1 f c. HasMap c f => ObjectOf c v0 => ObjectOf c v1 => c v0 v1 -> f v0 -> f v1
P purescript-subcategory M Control.Subcategory.Functor.HasMap
map :: forall a b. Ord a => JsonCodec a -> JsonCodec b -> JsonCodec (Map a b)

A codec for Map values.

Encodes as an array of two-element key/value arrays in JSON.

P purescript-codec-argonaut M Data.Codec.Argonaut.Common
map :: forall t. Corecursive t EJsonF => Map t t -> t
P purescript-ejson M Data.Json.Extended
Map :: forall a. (EJsonMap a) -> EJsonF a
P purescript-ejson M Data.Json.Extended.Signature.Core
Map :: EJsonType
P purescript-ejson M Data.Json.Extended.Type
map :: forall a b da db. Patch a da => Patch b db => (Jet a -> Jet b) -> Jet (IArray a) -> Jet (IArray b)

Modify each array element by applying the specified function.

P purescript-incremental-functions M Data.Incremental.Array
map :: forall a b. (a -> b) -> Jet (Atomic a) -> Jet (Atomic b)

Change an Atomic value using a regular function.

P purescript-incremental-functions M Data.Incremental.Eq
map :: forall k a da b db. Ord k => Patch a da => Patch b db => (Jet a -> Jet b) -> Jet (IMap k a) -> Jet (IMap k b)

Update every key by applying a function.

P purescript-incremental-functions M Data.Incremental.Map

A map object (http://leafletjs.com/reference-1.0.3.html#map-example)

P purescript-leaflet-tdammers M Leaflet.Map
map :: forall e. String -> LatLng -> Zoom -> Eff (leaflet :: LEAFLET | e) Map

map domID latLng zoom creates a new map object centered at latLng, at zoom level zoom, and attaches it to the DOM element with ID domID.

P purescript-leaflet-tdammers M Leaflet.Map
map :: forall a b. Hashable b => (a -> b) -> MultiSet a -> MultiSet b
P purescript-multiset-hashed M Data.HashSet.Multi
map :: forall a b f. IsoFunctor f => Iso a b -> f a -> f b
P purescript-partial-isomorphisms M Control.Isomorphism.Partial
map :: forall f g l0 l1 p r0 r1 r2. RMap p f g l0 r0 l1 r1 r2 => RowToList r0 l0 => RowToList r1 l1 => g r0 -> p (f r1) (f r2)
P purescript-struct M Data.Struct.Map.Map
map :: ImportedReactComponentConstructorWithContent EmptyProps OptProps_map
P purescript-elmish-html M Elmish.HTML.Generated
map :: forall a b h. ToHtml a b h
P purescript-flame M Flame.HTML.Element
map :: forall a b. (a -> b) -> GunChainCtx -> GunChainCtx

Map iterates over each property and item on a node, passing it down the chain, transforming the data with the given function. It also subscribes to every item as well and listens for newly inserted items.

P purescript-gun M Gun
map :: forall e c a. Attrs Unit -> DOM e c a -> DOM e c (ElRes a)
P purescript-impulse M Impulse.DOM.Tags
map :: forall a b. (a -> b) -> List a -> List b
P purescript-lists-fast M Data.List.Fast
map :: Icons
P purescript-materialize M Materialize.Icons.Data
map :: forall r t. Lens' { map :: t | r } t
P purescript-mathbox M Mathbox.Lenses
map :: forall b c a. HasMap a => (b -> c) -> a b -> a c
P purescript-neon M Neon.Class.HasMap
map :: P5 -> Number -> Number -> Number -> Number -> Number -> (Maybe Boolean) -> Number

p5js.org documentation

P purescript-p5 M P5.Math.Calculation
map :: StaticElement
P purescript-panda M Panda.HTML.Elements
map :: Free SpaceF Unit -> Free SpaceF Unit
P purescript-react-spaces M React.Spaces.DOM
map :: Free SpaceF Unit -> Free SpaceF Unit
P purescript-react-spaces M React.Spaces.DOM.Dynamic
map :: forall eff st. Array (Props eff st) -> Array (Component eff st) -> Component eff st
P purescript-refract M Refract.DOM
map :: forall a b f. (a -> b) -> Codensity f a -> Codensity f b
P purescript-resource M Codensity