import { Arity1 , pipe } from '@typed/lambda' ; import { Env } from './Env' ; import { Resume } from './Resume' ; param fn export function withEnv < A , B > ( fn ) { return pipe ( fn , Resume . of ) ; }