Skip to content

Commit

Permalink
Removed unneeded type signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
mryndzionek committed Dec 8, 2019
1 parent 7d9259f commit 9a2dc73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ topPlate = do
| isNothing l || isSplit = p
| otherwise =
let (w, d, l') = fromJust l
in (l' # scaleUToX w # translate (pure d * unitY) :: Path V2 Double) <>
in (l' # scaleUToX w # translate (pure d * unitY)) <>
(p # reversePath)
let mask = roundPath (-1) . union Winding $ inner
addLogo lg <$> (difference Winding bp <$> mirrorP mask)
Expand All @@ -306,7 +306,6 @@ spacerPlate = do
punch = o # scaleToX (width o - w) # scaleToY (height o - w) # reversePath
(c1, c2) = (cntr punch ^. _y, cntr o ^. _y)
where
cntr :: Path V2 Double -> Point V2 Double
cntr p = fromJust (mCenterPoint p)
disks =
union Winding $ placeRotated (0 @@ deg) sp (circle (_washerSize k / 3))
Expand Down

0 comments on commit 9a2dc73

Please sign in to comment.