From 376c3e472fbb1e2656f8c61b26e0276570609aa1 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 13 Sep 2021 00:29:57 -0400 Subject: Updated only/except import syntax to take into account record => variant syntax change. --- lux-python/source/program.lux | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index f6118ee38..9a8dd7b46 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -1,26 +1,26 @@ (.module: [library [lux "*" - [program {"+" [program:]}] - ["[0]" ffi {"+" [import:]}] + [program {"+" program:}] + ["[0]" ffi {"+" import:}] [abstract - [monad {"+" [do]}]] + [monad {"+" do}]] [control - [pipe {"+" [new>]}] + [pipe {"+" new>}] ["[0]" maybe] - ["[0]" try {"+" [Try]}] - ["[0]" exception {"+" [exception:]}] - ["[0]" io {"+" [IO io]}] + ["[0]" try {"+" Try}] + ["[0]" exception {"+" exception:}] + ["[0]" io {"+" IO io}] ["[0]" function] [concurrency - ["[0]" async {"+" [Async]}]]] + ["[0]" async {"+" Async}]]] [data ["[0]" text ("[1]#[0]" hash) - ["%" format {"+" [format]}] + ["%" format {"+" format}] [encoding ["[0]" utf8]]] [collection - ["[0]" array {"+" [Array]}] + ["[0]" array {"+" Array}] ["[0]" list]]] [macro ["[0]" template]] @@ -35,18 +35,18 @@ ["_" python]] [tool [compiler - ["[0]" phase {"+" [Operation Phase]}] + ["[0]" phase {"+" Operation Phase}] [reference - [variable {"+" [Register]}]] + [variable {"+" Register}]] [language [lux - [program {"+" [Program]}] - [generation {"+" [Context Host]}] + [program {"+" Program}] + [generation {"+" Context Host}] ["[0]" synthesis] [analysis - [macro {"+" [Expander]}]] + [macro {"+" Expander}]] [phase - ["[0]" extension {"+" [Extender Handler]} + ["[0]" extension {"+" Extender Handler} ["[1]/[0]" bundle] ["[0]" analysis "_" ["[1]" python]] @@ -57,9 +57,9 @@ ["[0]" python ["[0]" runtime]]]]]] [default - ["[0]" platform {"+" [Platform]}]] + ["[0]" platform {"+" Platform}]] [meta - [archive {"+" [Archive]}] + [archive {"+" Archive}] ["[0]" packager "_" ["[1]" script]]]]]]] [program -- cgit v1.2.3