We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e70aef commit d845ca7Copy full SHA for d845ca7
1 file changed
Binary/Hex.lean
@@ -81,7 +81,7 @@ where getC (c : Char) : UInt8 :=
81
else if ('a' ≤ c && c ≤ 'f') then (c.val - 'a'.val + 10).toUInt8
82
else unreachable!
83
84
-syntax (name := hexStrStx) "hex!" hexStr : term
+syntax:max (name := hexStrStx) "hex!" hexStr : term
85
86
@[term_elab hexStrStx]
87
public meta def elabHexStrStx : TermElab := fun hex _ => do
0 commit comments