on master help sign in
Add type hint for `complement`
commit9b27e7d71138602dc47ad87d32ef47809bb1714a authorevancz <info@elm-lang.org> dateTue 23 Oct 2012, 01:17 (14 years ago) parentbff94a0
1 file changed+1
elm/src/Types/Hints.hs+1
elm/src/Types/Hints.hs+1
@@ -82,6 +82,7 @@ graphicsElement = prefix "Graphics"
8282graphicsColor = prefix "Color" clrs
8383 where clrs = [ numScheme (\n -> n ==> n ==> n ==> color) "rgb"
8484 , numScheme (\n -> n ==> n ==> n ==> n ==> color) "rgba"
85+ , "complement" -: color ==> color
8586 ] ++ hasType color ["red","green","blue","black","white"
8687 ,"yellow","cyan","magenta","grey","gray"]
8788