Skip to content

Commit a60d32a

Browse files
committed
fix: public instances
1 parent 8b24774 commit a60d32a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

UnicodeBasic/Types.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,10 @@ public def toAbbrev! (x : GC) : String :=
279279

280280
open Std.Format Repr in
281281
public def reprPrec (x : GC) := addAppParen (group (joinSep (reprAux x |>.map (text "Unicode.GC." ++ text ·)) (text " |||" ++ line)) .fill)
282-
instance : Repr GC where reprPrec
282+
public instance : Repr GC where reprPrec
283283

284284
public def toString (x : GC) := " | ".intercalate (reprAux x)
285-
instance : ToString GC where toString
285+
public instance : ToString GC where toString
286286

287287
public def ofAbbrev? (s : String.Slice) : Option GC :=
288288
match s.chars.take 3 |>.toList with

0 commit comments

Comments
 (0)