summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/Every.hs
blob: 3c82fa2aab9e016cf5c10f5171e356ab43358a2b (plain)
1
2
3
4
5
6
{-# LANGUAGE PartialTypeSignatures #-}
module Every where

every :: _ -> _ -> Bool
every _ [] = True
every p (x:xs) = p x && every p xs