aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/purs-tidy/in.purs
blob: e11229232b94dd42032f17b84aa692006d360e61 (plain)
1
2
3
4
5
6
7
module Foo where     
baz ::Array(String)
 -> Int->Boolean->Int            
baz _ n        
 = case _ of
   true-> 20 +1
   false -> if n> 0 then 3-(-2)else 0