diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/type/dynamic.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/type/dynamic.lux b/stdlib/source/library/lux/type/dynamic.lux index d4f06d136..d24b16dd4 100644 --- a/stdlib/source/library/lux/type/dynamic.lux +++ b/stdlib/source/library/lux/type/dynamic.lux @@ -13,7 +13,7 @@ [macro {"+" with_symbols} ["[0]" syntax {"+" syntax:}]] ["[0]" type - ["[0]" abstract {"+" abstract:}]]]]) + ["[0]" primitive {"+" primitive:}]]]]) (exception: .public (wrong_type [expected Type actual Type]) @@ -21,16 +21,16 @@ "Expected" (%.type expected) "Actual" (%.type actual))) -(abstract: .public Dynamic +(primitive: .public Dynamic [Type Any] (def: abstraction (-> [Type Any] Dynamic) - (|>> abstract.abstraction)) + (|>> primitive.abstraction)) (def: representation (-> Dynamic [Type Any]) - (|>> abstract.representation)) + (|>> primitive.representation)) (syntax: .public (dynamic [value <code>.any]) (with_symbols [g!value] @@ -49,6 +49,6 @@ (def: .public (format value) (-> Dynamic (Try Text)) - (let [[type value] (abstract.representation value)] + (let [[type value] (primitive.representation value)] (debug.representation type value))) ) |