const { notAsked, failure, success, map } = require('dataway');
map(value => value.toUpperCase())(success('Mr Wilson'));
// => Success "MR WILSON"
map(value => value.toUpperCase())(failure('any suited error value'));
// => Failure "any suited error value"
map(value => value.toUpperCase())(notAsked);
// => NotAsked