~alcinnz/CatTrap

15ad59dbc0899181a3066ba2a4d8104a7b055861 — Adrian Cochrane 1 year, 3 months ago 3d40a0a
Draft utility to aid resolving conflicting dataflow.
1 files changed, 5 insertions(+), 0 deletions(-)

M Graphics/Layout/Box.hs
M Graphics/Layout/Box.hs => Graphics/Layout/Box.hs +5 -0
@@ 78,6 78,11 @@ lowerLength _ (Pixels x) = x
lowerLength outerwidth (Percent x) = x * outerwidth
lowerLength _ _ = 0

mapAuto x Auto = Pixels x
mapAuto x Preferred = Pixels x
mapAuto x Min = Pixels x
mapAuto _ x = x

class Zero a where
    zero :: a