diff options
author | Eduardo Julian | 2019-04-04 20:41:40 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-04-04 20:41:40 -0400 |
commit | 72956a4d2259192148bd3cc95f6fdda0a42e91f1 (patch) | |
tree | 2f5adb6999cbb8f32e1e1a12930009df1004612f /stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux | |
parent | 2914f38f7c3795a63f555409361bc1b317e871a9 (diff) |
- Updated analysis phase.
- Updated Python compiler.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux b/stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux index a8f601922..36184e21c 100644 --- a/stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux +++ b/stdlib/source/lux/tool/compiler/phase/generation/python/runtime.lux @@ -308,7 +308,7 @@ (runtime: (text//clip @text @from @to) (_.return (|> @text (_.slice @from (inc @to))))) -(runtime: (text//char text idx) +(runtime: (text//char idx text) (_.if (|> idx (within? (_.len/1 text))) (_.return (..some (_.ord/1 (|> text (_.slice idx (inc idx)))))) (_.return ..none))) |