diff options
Diffstat (limited to 'stdlib/source/library/lux/data/format/css/id.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/css/id.lux | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/stdlib/source/library/lux/data/format/css/id.lux b/stdlib/source/library/lux/data/format/css/id.lux index 5de67ed56..be23c0f17 100644 --- a/stdlib/source/library/lux/data/format/css/id.lux +++ b/stdlib/source/library/lux/data/format/css/id.lux @@ -8,7 +8,7 @@ ["[0]" text (.open: "[1]#[0]" hash) ["%" format (.only format)]]] [macro - [syntax (.only syntax:)] + [syntax (.only syntax)] ["[0]" code]] [type [primitive (.except)]]]]) @@ -24,10 +24,11 @@ (-> Text ID) (|>> abstraction)) - (syntax: .public (generic []) - (do meta.monad - [module meta.current_module_name - id meta.seed] - (in (list (` (..custom (~ (code.text (format "i" (%.nat_16 id) - "_" (%.nat_16 (text#hash module))))))))))) + (def: .public generic + (syntax (_ []) + (do meta.monad + [module meta.current_module_name + id meta.seed] + (in (list (` (..custom (~ (code.text (format "i" (%.nat_16 id) + "_" (%.nat_16 (text#hash module)))))))))))) ) |