query
On this page

concatMapStrings

lib.concatMapStrings

Docs pulled from | This Revision | about 1 hour ago


Map a function over a list and concatenate the resulting strings.

Inputs

f
1. Function argument
list
2. Function argument

Type

concatMapStrings :: (a -> string) -> [a] -> string

Examples

lib.strings.concatMapStrings usage example

concatMapStrings (x: "a" + x) ["foo" "bar"]
=> "afooabar"
(lib.strings.concatMapStrings)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

concatMapStrings = f: list: concatStrings (map f list);