inato/fp-ts-cheatsheet

I think traverse is data last

Opened this issue · 0 comments

traverse takes a first argument which is the datastructure that will be returned by the transformation function. And then two arguments, the first one being the data that will be transformed, and then the transformation function.

I may be wrong, but I think that traverse takes the data as the very last argument