diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-11-10 22:31:56 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-11-10 22:31:56 +0100 |
| commit | cd135319f65f40a554d864b2a878a4ef44043a98 (patch) | |
| tree | c51a5100b356ff4bf1a41a9b4b269faac3326850 /test | |
| parent | 57eb321eaeabc53c8c8b83d0554d8a8cca6eed76 (diff) | |
hlint cleanup
Diffstat (limited to 'test')
| -rw-r--r-- | test/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Main.hs b/test/Main.hs index 3010c5a..05597cc 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -221,8 +221,8 @@ genShape = \n tpl -> do shapeDiv :: Shape n -> DimNames n -> Int -> Shape n shapeDiv ShNil _ _ = ShNil - shapeDiv (ShNil `ShCons` n) ( C _ lo) f = ShNil `ShCons` (max lo (n `div` f)) - shapeDiv (sh@ShCons{} `ShCons` n) (tpl :$ C _ lo) f = shapeDiv sh tpl f `ShCons` (max lo (n `div` f)) + shapeDiv (ShNil `ShCons` n) ( C _ lo) f = ShNil `ShCons` max lo (n `div` f) + shapeDiv (sh@ShCons{} `ShCons` n) (tpl :$ C _ lo) f = shapeDiv sh tpl f `ShCons` max lo (n `div` f) shapeDiv (ShNil `ShCons` n) NC f = ShNil `ShCons` (n `div` f) shapeDiv (sh@ShCons{} `ShCons` n) (tpl :$ NC) f = shapeDiv sh tpl f `ShCons` (n `div` f) |
