on master help sign in
Fix type of `middleAt`, `topLeftAt`, etc.
commit1171a4d4e7d5ec52a987607469ca43602194d9f2 authorevancz <info@elm-lang.org> dateTue 2 Oct 2012, 22:02 (14 years ago) parentbe82904
1 file changed+1−1
elm/src/Types/Hints.hs+1−1
elm/src/Types/Hints.hs+1−1
@@ -49,7 +49,7 @@ directions = hasType direction ["up","down","left","right","inward","outward"]
4949positions =
5050 hasType position ["topLeft","midLeft","bottomLeft","midTop","middle"
5151 ,"midBottom","topRight","midRight","bottomRight"] ++
52− hasType (location ==> position)
52+ hasType (location ==> location ==> position)
5353 ["topLeftAt","bottomLeftAt","middleAt","topRightAt","bottomRightAt"] ++
5454 [ "absolute" -: int ==> location, "relative" -: float ==> location ]
5555colors = [ numScheme (\n -> n ==> n ==> n ==> color) "rgb"