You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempted this before by making type families open, all existing code worked in GHC >= 8.2, but a new module attempting to extend arithmetic with a type representing positive infinity failed to resolve AddK Nat InfiniteK to InfiniteK. There might be a way to do this still but so far it looks like a closed type family is required for the result kind of another type family.
This may not be possible directly.
When I attempted this before by making type families open, all existing code worked in GHC >= 8.2, but a new module attempting to extend arithmetic with a type representing positive infinity failed to resolve
AddK Nat InfiniteK
toInfiniteK
. There might be a way to do this still but so far it looks like a closed type family is required for the result kind of another type family.Previous attempt: https://github.com/adituv/typenums/blob/open-type-families/src/Test.hs
The text was updated successfully, but these errors were encountered: