concatMap: concatMap is 'concat' %.% 'map'. Here the list can be used as...

View source: R/Data.List.r

concatMapR Documentation

concatMap is concat %.% map. Here the list can be used as monoid, neglecting some values, while concat collects the accepted values.

Description

concatMap :: (a -> [b]) -> [a] -> [b]

Usage

concatMap(f, xs)

Arguments

f

function to apply

xs

list


schnecki/rhaskell documentation built on Oct. 30, 2022, 10:23 a.m.