blob: 4b0b33b410e970bd9ed15a2f6609c67b0aa4b092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{-# LANGUAGE Haskell2010 #-}
{-# OPTIONS_GHC -fwarn-unsafe -Werror #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE IncoherentInstances #-}
module UnsafeInfered19 where
class C a where
f :: a -> String
instance C a where
f _ = "a"
|