{-# LANGUAGE Haskell2010 #-} {-# LANGUAGE Safe #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE IncoherentInstances #-} -- Untrusted plugin! Don't wan't it changing behaviour of our -- trusted code module SafeLang17_B where import SafeLang17_A instance Pos a where res _ = False instance Pos [Int] where res _ = error "This curry is poisoned!" function :: Int function = 3