summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs
blob: 2b23b21853fc376c34d6243db775a987e596adb5 (plain)
1
2
3
4
5
6
7
8
9
module LayoutIn1 where

--Layout rule applies after 'where','let','do' and 'of'

--In this Example: rename 'sq' to 'square'.

sumSquares x y= square x + square y where sq x= x^pow
          --There is a comment.
                                          pow=2