summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/T14643.hs
blob: b6de27db65f2f82bb8700ad3812a1396a5e9b05b (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE PartialTypeSignatures #-}

module T14653 where

af, ag :: (Num a,_) => a -> a
-- It's important that one signature covers both

af y = ag y
ag x = af (x-1)