From 286851b7c0628ec9aaecf6d41bd56d13218f53cd Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 25 Sep 2007 05:55:49 +0000 Subject: remove the dependency to GF.Data.Operations from GF Embed API --- src/GF/Infra/PrintClass.hs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/GF/Infra/PrintClass.hs') diff --git a/src/GF/Infra/PrintClass.hs b/src/GF/Infra/PrintClass.hs index 93d7366b6..5e94984a6 100644 --- a/src/GF/Infra/PrintClass.hs +++ b/src/GF/Infra/PrintClass.hs @@ -1,7 +1,6 @@ module GF.Infra.PrintClass where import Data.List (intersperse) -import GF.Data.Operations (Err(..)) class Print a where prt :: a -> String @@ -50,7 +49,3 @@ instance Print Integer where instance Print a => Print (Maybe a) where prt (Just a) = prt a prt Nothing = "Nothing" - -instance Print a => Print (Err a) where - prt (Ok a) = prt a - prt (Bad str) = str -- cgit v1.2.3