shithub: MicroHs

ref: 1ae3cf8839a2498525a5c9753d3c4226d88ee09e
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)