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/host/ruby.lux | |
| parent | 6acf4ffc362c0f8ef77d96f8cfe991adb2d9a0eb (diff) | |
Re-named "Bool" type to "Bit".
Diffstat (limited to '')
| -rw-r--r-- | new-luxc/source/luxc/lang/host/ruby.lux | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/lang/host/ruby.lux b/new-luxc/source/luxc/lang/host/ruby.lux index c2bc6e95f..51b0d7ea7 100644 --- a/new-luxc/source/luxc/lang/host/ruby.lux +++ b/new-luxc/source/luxc/lang/host/ruby.lux @@ -1,8 +1,11 @@ (.module: [lux #- not or and] - (lux (data [text] - text/format - (coll [list "list/" Functor<List> Fold<List>])))) + (lux + (control + pipe) + (data [text] + text/format + (coll [list "list/" Functor<List> Fold<List>])))) (type: #export Ruby Text) @@ -15,8 +18,9 @@ "nil") (def: #export bool - (-> Bool Expression) - %b) + (-> Bit Expression) + (|>> (case> true "true" + false "false"))) (def: #export int (-> Int Expression) |
