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
On the other hand, @mpickering reminds me that if these instances were to be defined, they would have to be used with care, as today's typed Template Haskell is unsound. For instance, here is an example of unsoundness that can result from splicing in Dict:
f::a=>Q (TExp (Dicta))
f = liftTyped Dict
g::a=>Dicta
g =$$f
error:
• Could not deduce: a arising from a use of ‘f’
• In the expression: f
In the Template Haskell splice $$f
In the expression: $$f
• Relevant bindings include g :: Dict a
|
| g = $$f
| ^
Hope it's going well, do we want lift instances for
Dict
here?Can it be given for
a :- b
?The text was updated successfully, but these errors were encountered: