use ‘fromUnaryType’ and ‘fromBinaryType’ to reduce code duplication
use ‘fromUnaryType’ and ‘fromBinaryType’ to reduce code duplication

sanctuary-js/sanctuary-def,plaid/sanctuary-def,sanctuary-js/sanctuary-def