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
I don't see why not. Contrary to what we wrote in the paper, I believe that overloaded numbers are indeed possible during promotion -- just promote a number literal n to be FromInteger n. My promoted Num class redefines fromInteger to take a Nat, not an Integer, and it seems to work out.
Things like
even
,(^)
, etc. See the export list ofPrelude
. Make sure to move the definition of(:^)
from TypeLits when this is done.The text was updated successfully, but these errors were encountered: