mapM: This is @map@, but with indication that IO is happening. I.e....

View source: R/Data.List.r

mapMR Documentation

This is @map@, but with indication that IO is happening. I.e. the program state can change and a reader must have a closer look what the function does.

Description

mapM :: (a -> IO b) -> [a] -> IO [b]

Usage

mapM(f, xs)

Arguments

f

function to apply

xs

list


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