diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/jvm/reference.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/jvm/reference.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/jvm/reference.lux b/new-luxc/source/luxc/lang/translation/jvm/reference.lux index 886f461ce..5fb0e0d63 100644 --- a/new-luxc/source/luxc/lang/translation/jvm/reference.lux +++ b/new-luxc/source/luxc/lang/translation/jvm/reference.lux @@ -4,7 +4,7 @@ [monad (#+ do)]] [data [text - format]] + ["%" format (#+ format)]]] [tool [compiler ["." name] @@ -19,9 +19,9 @@ ["." //]) (template [<name> <prefix>] - [(def: #export (<name> idx) + [(def: #export <name> (-> Nat Text) - (|> idx %n (format <prefix>)))] + (|>> %.nat (format <prefix>)))] [foreign-name "f"] [partial-name "p"] |