diff options
Diffstat (limited to 'stdlib/source/lux/target/python.lux')
-rw-r--r-- | stdlib/source/lux/target/python.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/target/python.lux b/stdlib/source/lux/target/python.lux index 80f6b12de..31cdd851d 100644 --- a/stdlib/source/lux/target/python.lux +++ b/stdlib/source/lux/target/python.lux @@ -8,7 +8,7 @@ [number ["." frac]] ["." text - format] + ["%" format (#+ format)]] [collection ["." list ("#@." functor fold)]]] [macro @@ -97,11 +97,11 @@ (def: #export int (-> Int Literal) - (|>> %i :abstraction)) + (|>> %.int :abstraction)) (def: #export (long value) (-> Int Literal) - (:abstraction (format (%i value) "L"))) + (:abstraction (format (%.int value) "L"))) (def: #export float (-> Frac Literal) @@ -115,7 +115,7 @@ )) ## else - [%f]) + [%.frac]) :abstraction))) (def: sanitize @@ -397,7 +397,7 @@ 0 (.list) _ (|> (dec arity) (list.n/range 0) - (list@map (|>> %n code.local-identifier)))))) + (list@map (|>> %.nat code.local-identifier)))))) (syntax: (arity-types {arity s.nat}) (wrap (list.repeat arity (` (Expression Any))))) |