matrixP' :: Int -> LayoutDir -> Distance -> Placer data LayoutDir = Horizontal | Vertical instance Eq LayoutDir instance Ord LayoutDir instance Show LayoutDir
matrixP' count direction dist
matrixP'organizes boxes into a matrix, like matrixP, but with more control. The elements in a matrix all have the same size.
count :: Int
direction :: LayoutDir
dist :: Distance
placerF (matrixP' 2 Vertical 5) (listF [(n,buttonF (show n)) | n<-[1..3]])
Related combinators: placerF, listLF.