Resolving dependencies... Configuring direct-sqlite-2.3.22... Building direct-sqlite-2.3.22... Installed direct-sqlite-2.3.22 Configuring memo-sqlite-0.2... Building memo-sqlite-0.2... Failed to install memo-sqlite-0.2 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/memo-sqlite-0.2-5rH6hP3a0eb7JieWIbPSOe.log ): cabal: Entering directory '/tmp/cabal-tmp-17882/memo-sqlite-0.2' Configuring memo-sqlite-0.2... Preprocessing library for memo-sqlite-0.2.. Building library for memo-sqlite-0.2.. [1 of 1] Compiling Data.Memo.Sqlite ( Data/Memo/Sqlite.hs, dist/build/Data/Memo/Sqlite.o ) Data/Memo/Sqlite.hs:103:57: error: • Variable not in scope: (<>) :: Table -> Text -> t3 • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 103 | not ("sqlite_" `isPrefixOf` s) = Just (Table $ "\"" <> s <> "\"") | ^^ Data/Memo/Sqlite.hs:103:62: error: • Variable not in scope: (<>) :: t3 -> [Char] -> Table • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 103 | not ("sqlite_" `isPrefixOf` s) = Just (Table $ "\"" <> s <> "\"") | ^^ Data/Memo/Sqlite.hs:148:56: error: • Variable not in scope: (<>) :: IO Statement -> Text -> t0 • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 148 | create <- prepare db $ "CREATE TABLE IF NOT EXISTS " <> tab <> " ( k TEXT PRIMARY KEY, v TEXT )" | ^^ Data/Memo/Sqlite.hs:148:63: error: • Variable not in scope: (<>) :: t0 -> [Char] -> IO Statement • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 148 | create <- prepare db $ "CREATE TABLE IF NOT EXISTS " <> tab <> " ( k TEXT PRIMARY KEY, v TEXT )" | ^^ Data/Memo/Sqlite.hs:152:43: error: • Variable not in scope: (<>) :: IO Statement -> Text -> t1 • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 152 | lookup <- prepare db $ "SELECT v FROM " <> tab <> " WHERE k = ? LIMIT 1" | ^^ Data/Memo/Sqlite.hs:152:50: error: • Variable not in scope: (<>) :: t1 -> [Char] -> IO Statement • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 152 | lookup <- prepare db $ "SELECT v FROM " <> tab <> " WHERE k = ? LIMIT 1" | ^^ Data/Memo/Sqlite.hs:153:41: error: • Variable not in scope: (<>) :: IO Statement -> Text -> t2 • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 153 | insert <- prepare db $ "INSERT INTO " <> tab <> " ( k , v ) VALUES ( ? , ? )" | ^^ Data/Memo/Sqlite.hs:153:48: error: • Variable not in scope: (<>) :: t2 -> [Char] -> IO Statement • Perhaps you meant one of these: ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude), ‘<$’ (imported from Prelude) | 153 | insert <- prepare db $ "INSERT INTO " <> tab <> " ( k , v ) VALUES ( ? , ? )" | ^^ cabal: Leaving directory '/tmp/cabal-tmp-17882/memo-sqlite-0.2' cabal: Error: some packages failed to install: memo-sqlite-0.2-5rH6hP3a0eb7JieWIbPSOe failed during the building phase. The exception was: ExitFailure 1