Open chshersh opened 4 years ago
If HIE files track this information, we can advice using SPECIALIZE pragmas for some functions (for example, that polymorphic over MonadIO, Num or IsString constraints)
SPECIALIZE
MonadIO
Num
IsString
I see that there is SpecSig that seems to be what we want:
SpecSig
, nodeAnnotations = fromList [ ( "SpecSig" , "Sig")] , ...
We can search for such entries for the desired functions.
If HIE files track this information, we can advice using
SPECIALIZE
pragmas for some functions (for example, that polymorphic overMonadIO
,Num
orIsString
constraints)