since import * as fc from 'fast-check' ; import { none , Option , some } from 'fp-ts/lib/Option' ; since export function getSome < A > ( arb ) { return arb . map ( some ) ; } since export function getNone < A > ( ) { return fc . constant ( none ) ; } since export function getOption < A > ( arb ) { return fc . oneof ( getNone < A > ( ) , getSome < A > ( arb ) ) ; }