1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-10-06 09:57:29 +03:00
ormolu/region-tests/expected-result-6-8.hs
2020-04-24 20:21:35 +02:00

12 lines
154 B
Haskell

{-# LANGUAGE LambdaCase #-}
module Foo (
foo, bar) where
foo :: Int
foo = 5
bar :: Int -> Int
bar = \case
0 -> foo
x -> x - foo