Measures Concepts
GitHub icon

Map Functions

Map Functions - language feature

< >
Example from JavaScript, TypeScript:
[1,2.1].map(Math.round)
Example from Haskell:
class Functor f where fmap :: (a -> b) -> f a -> f b (<$) :: a -> f b -> f a

Languages with Map Functions include JavaScript, Haskell, TypeScript

This question asks: Does the language support running map over a list?

Read more about Map Functions on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout