cullophid / date-fp

Functional programming date manipulation library
121 stars 17 forks source link

Return Invalid Date / NaN instead of Errors #22

Closed cullophid closed 8 years ago

cullophid commented 8 years ago

This means that our functions no longer break their type signatures when returning errors. or said differently all functions (except parse) are now pure.

svozza commented 8 years ago

We need to remove the references to errors in the type sigs and other parts of the README.

svozza commented 8 years ago

Other than that, looks good. Although, this does convince me even more of the value of the monadic versions of these functions.

cullophid commented 8 years ago

@svozza I tend to agree. Ill look at the docs :)