diff options
author | Eduardo Julian | 2020-12-15 22:05:05 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-12-15 22:05:05 -0400 |
commit | abc5c5293603229b447b8b5dfa7f3275571ad982 (patch) | |
tree | 26a5a40c6583568522ca9d3714219112e602a693 /stdlib/source/program/aedifex/artifact | |
parent | 71ade9a07f08c0d61ebd70e64c2745f1ba33cb54 (diff) |
Compiling "lux syntax char case!" with TABLESWITCH instead of LOOKUPSWITCH.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/artifact/extension.lux | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stdlib/source/program/aedifex/artifact/extension.lux b/stdlib/source/program/aedifex/artifact/extension.lux index 78939260a..e108a3727 100644 --- a/stdlib/source/program/aedifex/artifact/extension.lux +++ b/stdlib/source/program/aedifex/artifact/extension.lux @@ -1,7 +1,7 @@ (.module: - [lux #* + [lux (#- type) [data - [text + ["." text ["%" format (#+ format)]]] [macro ["." template]]] @@ -18,6 +18,10 @@ (-> //.Type Extension) (|>> (format ..separator))) +(def: #export type + (-> Extension //.Type) + (text.replace-all ..separator "")) + (template [<name>] [(def: #export <name> Extension |