aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/purs-tidy/out.purs
blob: b149877901eb9b0c5597d08df66c46d5131adb5c (plain)
1
2
3
4
5
6
7
8
9
10
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