We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fba4ef9 commit 8eb9ecbCopy full SHA for 8eb9ecb
1 file changed
src/TDLib/EventLoop.hs
@@ -1,3 +1,4 @@
1
+{-# LANGUAGE CPP #-}
2
{-# LANGUAGE ExistentialQuantification #-}
3
4
-- | A heavyweight TDLib effect intepreter written using event loop
@@ -20,7 +21,11 @@ import Control.Monad
20
21
import Control.Monad.Loops
22
import Data.Aeson
23
import Data.ByteString.Lazy (toStrict)
24
+#if MIN_VERSION_aeson(2,0,0)
25
+import qualified Data.Aeson.KeyMap as HM
26
+#else
27
import qualified Data.HashMap.Strict as HM
28
+#endif
29
import Data.IntMap.Strict (IntMap)
30
import qualified Data.IntMap.Strict as M
31
import Data.Maybe
0 commit comments