diff options
Diffstat (limited to 'stdlib/source/lux/data/color.lux')
-rw-r--r-- | stdlib/source/lux/data/color.lux | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/stdlib/source/lux/data/color.lux b/stdlib/source/lux/data/color.lux index 0c96f46c4..e0de8ac88 100644 --- a/stdlib/source/lux/data/color.lux +++ b/stdlib/source/lux/data/color.lux @@ -3,9 +3,10 @@ [control [equivalence (#+ Equivalence)]] [data - [number ("rev/." Interval<Rev>)] + [number + [rev ("rev/." interval)]] [collection - ["." list ("list/." Functor<List>)]]] + ["." list ("list/." functor)]]] ["." math] [type abstract]]) @@ -55,7 +56,7 @@ (-> Color RGB) (|>> :representation)) - (structure: #export _ (Equivalence Color) + (structure: #export equivalence (Equivalence Color) (def: (= reference sample) (let [[rr rg rb] (:representation reference) [sr sg sb] (:representation sample)] |