import { snoc } from 'fp-ts/lib/Array' ; since export function append < A > ( a ) ; export function append < A > ( a , as ) ; export function append < A > ( a , as ? ) { if ( as === undefined ) { return ( as ) => snoc ( as , a ) ; } else { return snoc ( as , a ) ; } }