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
However, the CakeML compiler doesn't really have a facility for generating warnings in general at the moment. I think this issue should be generalised to be about making the CakeML compiler generate warning messages and the example above could be one such warning message.
It would be a nice feature of the CakeML compiler for it to provide warning messages during compilation of possibly unintended behaviors.
Example:
Running it will return
I believe it would be beneficial for the compiler to give the user a warning such as
Pattern "lowX" is redundant in this clause.
The text was updated successfully, but these errors were encountered: