remark about Data.Default incompatibility
authorEugene Crosser <crosser@average.org>
Wed, 30 Apr 2014 19:36:52 +0000 (23:36 +0400)
committerEugene Crosser <crosser@average.org>
Wed, 30 Apr 2014 19:36:52 +0000 (23:36 +0400)
No, I am not "solving" this with cabal dependencies!

pdns-pipe-nmc.hs

index 49cce861d6140d489c6541cb02d02cfe62f6f4e9..5fc64fa1c940c96bff85b47f80ec7bc65943b307 100644 (file)
@@ -22,6 +22,8 @@ import Data.Aeson (encode, decode, Value(..))
 import Network.HTTP.Types
 import Network.HTTP.Client
 import Data.Default.Class (def)
+-- if you have data-default-0.5.1 import this instead of Data.Default.Class:
+-- import Data.Default (def)
 
 import JsonRpcClient
 import Config