> For the complete documentation index, see [llms.txt](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://demystifyfp.gitbook.io/fstoolkit-errorhandling/fstoolkit.errorhandling/index-2/map2.md).

# map2

### TaskValidation.map2

Namespace: `FsToolkit.ErrorHandling`

Function Signature:

```fsharp
('a -> 'b -> 'c)
  -> Task<Result<'a, 'd list>>
  -> Task<Result<'b, 'd list>>
  -> Task<Result<'c, 'd list>>
```

Like [Result.map2](/fstoolkit-errorhandling/fstoolkit.errorhandling/result/map2.md), but collects the errors from both arguments.

### Examples
