shithub: MicroHs

ref: 895f767258f28ceddd3fcb87bce84ad98acb565a
dir: /tests/View.hs/

View raw version
module View(main) where
import Prelude

f :: Int -> Int
f ((> 10) -> True) = 1
f _ = 0

main :: IO ()
main = do
  print (f 20)
  print (f 10)