Skip to content

Instantly share code, notes, and snippets.

@pfgray
Created November 5, 2018 01:15
Show Gist options
  • Save pfgray/8ceb2c1860a23f6eb447812559bda813 to your computer and use it in GitHub Desktop.
Save pfgray/8ceb2c1860a23f6eb447812559bda813 to your computer and use it in GitHub Desktop.
import { array } from 'fp-ts/lib/Array'
import { io, IO } from 'fp-ts/lib/IO'
import { none, option, some, Option } from 'fp-ts/lib/Option'
import { getTraversableComposition } from 'fp-ts/lib/Traversable2v'
const T = getTraversableComposition(array, option)
T.traverse(???)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment