Improve style
This commit is contained in:
parent
edde93ec77
commit
7a7bfaa1be
@ -14,8 +14,7 @@ import Parser.Meshparser
|
|||||||
-- |Return a list of tuples used by 'gifMain' to generate an animated gif.
|
-- |Return a list of tuples used by 'gifMain' to generate an animated gif.
|
||||||
gifDiag :: DiagProp -> [PT] -> [(Diagram Cairo R2, GifDelay)]
|
gifDiag :: DiagProp -> [PT] -> [(Diagram Cairo R2, GifDelay)]
|
||||||
gifDiag p xs =
|
gifDiag p xs =
|
||||||
fmap (\x -> (x, 100)) .
|
fmap ((\x -> (x, 100)) . (<> nonChDiag)) .
|
||||||
fmap (\x -> x <> nonChDiag) .
|
|
||||||
flip (++)
|
flip (++)
|
||||||
[mkDiag (convexHullPointsText `mappend`
|
[mkDiag (convexHullPointsText `mappend`
|
||||||
convexHullPoints)
|
convexHullPoints)
|
||||||
|
Loading…
Reference in New Issue
Block a user