File: LayoutLet4.hs.expected

package info (click to toggle)
haskell-ghc-exactprint 0.6.2-2
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 5,960 kB
  • sloc: haskell: 39,296; makefile: 7
file content (11 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
module LayoutLet4 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 xxxlonger = let a = 1
                    b = 2
                in xxxlonger + a + b

bar = 3