Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Run newtype optimisation as part of lower #210

Merged
merged 1 commit into from
Oct 28, 2019
Merged

Conversation

SquidDev
Copy link
Member

  • Introduce the concept of "type representations". These are a concrete part of the (core) module signature, rather than provided by an optimisation.

  • Lower is now guided by these type representations. We will emit method calls instead of constructor invocations for type wrappers, and the pattern compiler will also generate the appropriate code.

Closes #196

 - Introduce the concept of "type representations". These are a concrete
   part of the (core) module signature, rather than provided by an
   optimisation.

 - Lower is now guided by these type representations. We will emit
   method calls instead of constructor invocations for type wrappers,
   and the pattern compiler will also generate the appropriate code.

Closes #196
@SquidDev SquidDev added bug X-soundness Soundness bugs. labels Oct 28, 2019
@SquidDev SquidDev requested a review from plt-amy October 28, 2019 20:18
@plt-amy plt-amy merged commit 8d0eb2e into master Oct 28, 2019
@plt-amy plt-amy deleted the feature/new-newty branch October 28, 2019 20:24
plt-amy pushed a commit that referenced this pull request Jan 12, 2020
- Introduce the concept of "type representations". These are a concrete
   part of the (core) module signature, rather than provided by an
   optimisation.

 - Lower is now guided by these type representations. We will emit
   method calls instead of constructor invocations for type wrappers,
   and the pattern compiler will also generate the appropriate code.

Closes #196
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug X-soundness Soundness bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Newtype optimisation broken in the REPL
2 participants