summaryrefslogtreecommitdiff
path: root/utils/check-exact/cases/LayoutLet2.hs
blob: 378aa587a86e4bf59cfa37e907dfc1f9a7a6c8de (plain)
1
2
3
4
5
6
7
8
module LayoutLet2 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