Skip to content

Conversation

@tfausak
Copy link
Contributor

@tfausak tfausak commented Nov 20, 2015

The PureScript compiler warns about shadowed type variables as of 0.7.6.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can rely on scoped type variables here instead:

readElement :: Int -> Foreign -> F a

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, good point. I mechanically transformed the type signature and didn't realize what it was doing.

The PureScript compiler warns about shadowed type variables as of 0.7.6.
@tfausak
Copy link
Contributor Author

tfausak commented Nov 20, 2015

Updated!

@garyb
Copy link
Member

garyb commented Nov 20, 2015

Another stupid error I'll fix after merge. Thanks!

garyb added a commit that referenced this pull request Nov 20, 2015
Don't shadow type variables
@garyb garyb merged commit f3825cd into purescript:master Nov 20, 2015
@tfausak tfausak deleted the patch-1 branch November 20, 2015 01:15
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.

2 participants