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

Tweak trampoline function to accept DataCon closures #896

Merged
merged 2 commits into from Nov 8, 2018

Conversation

mmisamore
Copy link
Contributor

This fixes a problem with lens-aeson support (eta-hackage #120)

Description

Ensure the trampoline function permits DataCons as well as Thunks. This seems to permit lens libraries such as lens-aeson to function properly.

How Has This Been Tested?

./runtests.sh is passing all tests except arr003, which was failing before this change. I also reproduced the issue in eta-hackage (#120) and verified that this change resolved it.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation change
  • Test suite change

Checklist:

  • I have read the CONTRIBUTING document.

@CLAassistant
Copy link

CLAassistant commented Nov 8, 2018

CLA assistant check
All committers have signed the CLA.

@rahulmutt
Copy link
Member

This looks great. Thanks for reporting and fixing it, @mmisamore!

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

3 participants