Skip to content
New issue

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

make Array<T> a HKT and deprecate to,from helper functions #5

Closed
gcanti opened this issue Feb 20, 2017 · 0 comments
Closed

make Array<T> a HKT and deprecate to,from helper functions #5

gcanti opened this issue Feb 20, 2017 · 0 comments
Assignees

Comments

@gcanti
Copy link
Owner

gcanti commented Feb 20, 2017

Through declaration merging

declare global {
  interface Array<T> {
    __hkt: URI;
    __hkta: T;
  }
}
@gcanti gcanti self-assigned this Feb 20, 2017
@gcanti gcanti closed this as completed in 7b9d71b Feb 21, 2017
gcanti added a commit that referenced this issue Feb 21, 2017
make Array<T> a HKT and deprecate `to`,`from` helper functions, fix #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant