diff options
Diffstat (limited to 'stdlib/source')
-rw-r--r-- | stdlib/source/lux/data/format/css.lux | 2 | ||||
-rw-r--r-- | stdlib/source/lux/data/text/format.lux | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/format/css.lux b/stdlib/source/lux/data/format/css.lux index 1de9e0192..0c4551e0a 100644 --- a/stdlib/source/lux/data/format/css.lux +++ b/stdlib/source/lux/data/format/css.lux @@ -75,7 +75,7 @@ (do-template [<name> <suffix>] [(def: #export (<name> value) (-> Frac Value) - (format (%r value) <suffix>))] + (format (%f value) <suffix>))] [em "em"] [ex "ex"] diff --git a/stdlib/source/lux/data/text/format.lux b/stdlib/source/lux/data/text/format.lux index c434d4637..f0b9d0e6f 100644 --- a/stdlib/source/lux/data/text/format.lux +++ b/stdlib/source/lux/data/text/format.lux @@ -41,7 +41,7 @@ [%n Nat (:: number;Codec<Text,Nat> encode)] [%i Int (:: number;Codec<Text,Int> encode)] [%d Deg (:: number;Codec<Text,Deg> encode)] - [%r Frac (:: number;Codec<Text,Frac> encode)] + [%f Frac (:: number;Codec<Text,Frac> encode)] [%t Text text;encode] [%ident Ident (:: ident;Codec<Text,Ident> encode)] [%code Code code;to-text] |