File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,12 @@ object BigFloat extends App {
5454 fromDigitsImpl(' digits )
5555 }
5656 }
57- }
5857
59- // Should be in StdLib:
58+ // Should be in StdLib:
6059
61- given as Liftable [BigInt ] {
62- def toExpr (x : BigInt ) given (qctx : QuoteContext ): Expr [BigInt ] =
63- ' {BigInt ($ {x.toString.toExpr})}
60+ given as Liftable [BigInt ] {
61+ def toExpr (x : BigInt ) given (qctx : QuoteContext ): Expr [BigInt ] =
62+ ' {BigInt ($ {x.toString.toExpr})}
63+ }
6464}
6565
66-
Original file line number Diff line number Diff line change @@ -54,13 +54,12 @@ object BigFloat extends App {
5454 fromDigitsImpl(' digits )
5555 }
5656 }
57- }
5857
59- // Should be in StdLib:
58+ // Should be in StdLib:
6059
61- given as Liftable [BigInt ] {
62- def toExpr (x : BigInt ) given (qctx : QuoteContext ): Expr [BigInt ] =
63- ' {BigInt ($ {x.toString.toExpr})}
60+ given as Liftable [BigInt ] {
61+ def toExpr (x : BigInt ) given (qctx : QuoteContext ): Expr [BigInt ] =
62+ ' {BigInt ($ {x.toString.toExpr})}
63+ }
6464}
6565
66-
You can’t perform that action at this time.
0 commit comments