Various cleanups
This commit is contained in:
+14
-3
@@ -1,15 +1,26 @@
|
||||
module ShapePicture
|
||||
( module ShapePicture
|
||||
, module ShapePicture.Data
|
||||
( emptyBlank
|
||||
, translateSPf
|
||||
, translateSPz
|
||||
, rotateSP
|
||||
, SPic
|
||||
, _spShape
|
||||
, _spPicture
|
||||
)
|
||||
where
|
||||
import Shape
|
||||
import ShapePicture.Data
|
||||
import Picture
|
||||
import Geometry
|
||||
|
||||
import Data.Bifunctor
|
||||
|
||||
type SPic = (Shape, Picture)
|
||||
|
||||
_spShape :: SPic -> Shape
|
||||
_spShape = fst
|
||||
_spPicture :: SPic -> Picture
|
||||
_spPicture = snd
|
||||
|
||||
emptyBlank :: SPic
|
||||
emptyBlank = (emptySH,blank)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user