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

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