summaryrefslogtreecommitdiff
path: root/utils/check-exact/cases/LayoutLet3.hs
blob: 5ba80aff6af11c4c34f34e5eb930305f1cea86c2 (plain)
1
2
3
4
5
6
7
8
9
10
module LayoutLet3 where

-- Simple let expression, rename xxx to something longer or shorter
-- and the let/in layout should adjust accordingly
-- In this case the tokens for xxx + a + b should also shift out

foo xxx = let a = 1
              b = 2
          in xxx + a + b