mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 04:01:51 -07:00
Use Haskell '98 data declaration rather than GADT-style
This commit is contained in:
@@ -323,9 +323,7 @@ otherDirection :: CutDirection -> CutDirection
|
||||
otherDirection Vertical = Horizontal
|
||||
otherDirection Horizontal = Vertical
|
||||
|
||||
data Mosaic a where
|
||||
M :: [Mosaic a] -> Mosaic a
|
||||
OM :: a -> Mosaic a
|
||||
data Mosaic a = M [Mosaic a] | OM a
|
||||
deriving ( Show )
|
||||
|
||||
instance Functor Mosaic where
|
||||
|
Reference in New Issue
Block a user