diff options
Diffstat (limited to 'utils/check-exact/cases/LayoutIn1.hs')
-rw-r--r-- | utils/check-exact/cases/LayoutIn1.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/check-exact/cases/LayoutIn1.hs b/utils/check-exact/cases/LayoutIn1.hs new file mode 100644 index 0000000000..3ea1f8402c --- /dev/null +++ b/utils/check-exact/cases/LayoutIn1.hs @@ -0,0 +1,9 @@ +module LayoutIn1 where + +--Layout rule applies after 'where','let','do' and 'of' + +--In this Example: rename 'sq' to 'square'. + +sumSquares x y= sq x + sq y where sq x= x^pow + --There is a comment. + pow=2 |