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

Add Tuple support: _1, _2 #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Tuple support: _1, _2 #172

wants to merge 1 commit into from

Conversation

toastal
Copy link

@toastal toastal commented Dec 17, 2021

Coming from PureScript, I was surprised to not see _1 and _2.

@gcanti I'm very confused about why I need to call _1() ... the code is very similar to Either and _left where you have to call it? Why? Why can't it just be _1 and _left? I tried to make that the case using object syntax, but I'm too unfamiliar with TypeScript to figure out how to make the types work; I was able to use concrete types in my own code elsewhere, but the universally quantified ones, not so much.

@toastal toastal force-pushed the tuple branch 11 times, most recently from 9794502 to db63fcc Compare December 17, 2021 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant