X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=hs-rrdtool.git;a=blobdiff_plain;f=Database%2FRRDtool%2FCreate.hs;h=a6a67fca729a31f3a5eefa750c0cc79fff45776f;hp=5438e044d02b5a746256ed95fe3686a75b29028c;hb=16e0b5c01dc848105b3673a72ee6e04f8baae9d9;hpb=d07e35733d4f0994a12202164c9065aef1fe98f4 diff --git a/Database/RRDtool/Create.hs b/Database/RRDtool/Create.hs index 5438e04..a6a67fc 100644 --- a/Database/RRDtool/Create.hs +++ b/Database/RRDtool/Create.hs @@ -1,3 +1,7 @@ +{-# LANGUAGE + TypeFamilies, + UndecidableInstances + #-} module Database.RRDtool.Create ( DataSource , ExternalDSType(..) @@ -159,8 +163,8 @@ instance (IsCommonExpr e ~ True) => dsTest = ComputedDataSource { cdsName = "foo" --- , dsExpr = Previous :<: Const 100 --- , dsExpr = Var "foo" :<: Const 100 +-- , cdsExpr = Previous :<: Const 100 +-- , cdsExpr = Var "foo" :<: Const 100 , cdsExpr = AverageOf (Const 100 .*. Const 200 .*. HNil) }