diff options
author | Eduardo Julian | 2018-07-13 22:01:32 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-13 22:01:32 -0400 |
commit | 69fefab57c40f323d759dc444dbcebad15071585 (patch) | |
tree | db08a3ea37c7818c8a98fc995d3c19440141b700 /new-luxc/source/luxc/lang/translation/python/case.jvm.lux | |
parent | 6acf4ffc362c0f8ef77d96f8cfe991adb2d9a0eb (diff) |
Re-named "Bool" type to "Bit".
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/python/case.jvm.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python/case.jvm.lux b/new-luxc/source/luxc/lang/translation/python/case.jvm.lux index 8e5b16a88..809b32c23 100644 --- a/new-luxc/source/luxc/lang/translation/python/case.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/python/case.jvm.lux @@ -30,7 +30,7 @@ (python.apply (list valueO)))))) (def: #export (translate-record-get translate valueS pathP) - (-> (-> Synthesis (Meta Expression)) Synthesis (List [Nat Bool]) + (-> (-> Synthesis (Meta Expression)) Synthesis (List [Nat Bit]) (Meta Expression)) (do macro.Monad<Meta> [valueO (translate valueS)] @@ -118,7 +118,7 @@ ([#.Nat (<| python.int (:coerce Int))] [#.Int python.int] [#.Rev (<| python.int (:coerce Int))] - [#.Bool python.bool] + [#.Bit python.bool] [#.Frac python.float] [#.Text python.string]) @@ -204,7 +204,7 @@ ## TODO: Remove (let [inner recur]) once loops can have names. (let [inner recur] (case bodyS - (^code ((~ [_ (#.Nat tag)]) (~ [_ (#.Bool last?)]) (~ valueS))) + (^code ((~ [_ (#.Nat tag)]) (~ [_ (#.Bit last?)]) (~ valueS))) (inner valueS inner-variables) (^code [(~+ members)]) |