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

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