diff options
Diffstat (limited to 'stdlib/source/lux/target/jvm/encoding/name.lux')
-rw-r--r-- | stdlib/source/lux/target/jvm/encoding/name.lux | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/stdlib/source/lux/target/jvm/encoding/name.lux b/stdlib/source/lux/target/jvm/encoding/name.lux deleted file mode 100644 index 606c7439c..000000000 --- a/stdlib/source/lux/target/jvm/encoding/name.lux +++ /dev/null @@ -1,39 +0,0 @@ -(.module: - [lux #* - [data - ["." text - ["%" format (#+ format)]]] - [type - abstract]]) - -(def: #export internal_separator "/") -(def: #export external_separator ".") - -(type: #export External Text) - -(abstract: #export Internal - Text - - (def: #export internal - (-> External Internal) - (|>> (text.replace_all ..external_separator - ..internal_separator) - :abstraction)) - - (def: #export read - (-> Internal Text) - (|>> :representation)) - - (def: #export external - (-> Internal External) - (|>> :representation - (text.replace_all ..internal_separator - ..external_separator)))) - -(def: #export sanitize - (-> Text External) - (|>> ..internal ..external)) - -(def: #export (qualify package class) - (-> Text External External) - (format (..sanitize package) ..external_separator class)) |