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

somethingShowable :: Show _x => _x -> _
somethingShowable x = show (not x)
-- Inferred type: Bool -> String