Update foo.hs

fixed parens
Merge pull request #2 from tomberek/patch-2

Update foo.hs