Strange :help
output for newtypes and enums
#1605
Labels
bug
Something not working correctly
command-line-repl
Related to Cryptol's text-based UI
enums
Issues related to enums
Given this Cryptol file:
If you type
:help T
at the REPL, you'll get:This is unsatisfactory for a couple of reasons:
The
:help
output doesn't state the kind ofT
. This is inconsistent with how:help
displays other type constructors, e.g.,The pretty-printed definition of
T
"re-quantifies"a
, as it displays bothnewtype T a
andT : {a} {unT : a} -> T a
. Really, thea
innewtype T a
ought to scope over the type ofT
so that it is displayed like this:The same issues apply to enums (#1602) as well.
The text was updated successfully, but these errors were encountered: