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

Enable 'PolyKinds' in Linear.Trace #122

Merged
merged 1 commit into from Feb 15, 2017
Merged

Conversation

harpocrates
Copy link
Contributor

This turns on PolyKinds for appropriate GHC versions in Linear.Trace. The particular motivation is to generalize

instance Dim * n => Trace (V * n)

to the kind Nat, such that trace m compiles for types like m :: V 5 (V 5 Double).

Fixes #121.

This turns on 'PolyKinds' for appropriate GHC versions in 'Linear.Trace'.
The particular motivation is to generalize the `instance Dim * n =>
Trace (V * n)` to the kind `Nat`, such that `trace m` compiles for types
like `m :: V 5 (V 5 n)`.

Fixes ekmett#121
@RyanGlScott RyanGlScott merged commit 8a6ae0b into ekmett:master Feb 15, 2017
RyanGlScott added a commit that referenced this pull request Feb 16, 2017
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

2 participants