RosettaCodeData/Task/Pythagoras-tree/Haskell/pythagoras-tree-3.hs

6 lines
178 B
Haskell
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
--import should go to the top of the code
import Graphics.Gloss
main = display (InWindow "Pithagoras tree" (400, 400) (0, 0)) white tree
where tree = foldMap lineLoop squares