Hoogle Search

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

1. base Prelude

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

2. amazonka-core Amazonka.Prelude

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

3. ghc GHC.Prelude.Basic

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

4. pipes Pipes.Prelude

Apply a function to all values flowing downstream

```map id = cat

map (g . f) = map f >-> map g
```

5. rio RIO.Prelude

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

6. Cabal-syntax Distribution.Compat.Prelude

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

7. ghc-lib-parser GHC.Prelude.Basic

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

8. streaming Streaming.Prelude

Standard map on the elements of a stream.

```>>> S.stdoutLn \$ S.map reverse \$ each (words "alpha beta")
ahpla
ateb
```

map f xs is the list obtained by applying f to each element of xs, i.e.,

```map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
map f [x1, x2, ...] == [f x1, f x2, ...]
```
```>>> map (+1) [1, 2, 3]
[2,3,4]
```

10. prelude-compat Prelude2010

No documentation available.

Page 1 of many | Next