We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function mapWithName<A, B>(f: (a: A) => B, type: t.Type<A>, name: string): t.Type<B> { return new t.Type( name, (v, c) => type.validate(v, c).map(f) ) }
The text was updated successfully, but these errors were encountered:
add mapWithName and Functor instance, fix #37
af6eb5f
110cf67
5c65d4d
Merge pull request #38 from gcanti/37
0aba1e3
No branches or pull requests
The text was updated successfully, but these errors were encountered: