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

Parse tuple constructor (,) #51

Closed
tunguski opened this issue May 25, 2017 · 2 comments
Closed

Parse tuple constructor (,) #51

tunguski opened this issue May 25, 2017 · 2 comments

Comments

@tunguski
Copy link

Below is an example from List module.

toIndexedList : Array a -> List (Int, a)
toIndexedList array =
  List.map2
    (,)
    (List.range 0 (Native.Array.length array - 1))
    (Native.Array.toList array)
@wende
Copy link
Collaborator

wende commented May 26, 2017

I'm pretty sure it works. There is a problem with example not getting updated, which I cannot get to because the reports are to @Bogdanp's email.

@wende wende closed this as completed May 26, 2017
@wende
Copy link
Collaborator

wende commented May 26, 2017

Oh. Actually I am wrong. #38 broke that functionality. Good find!

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

No branches or pull requests

2 participants