@@ -1,6 +1,8 @@
1+Cabal-Version: 2.2
12Name: project-m36
2−Version: 0.8.1
3−License: PublicDomain
3+Version: 0.9.3
4+License: MIT
5+--note that this license specification is erroneous and only labeled MIT to appease hackage which does not recognize public domain packages in cabal >2.2- Project:M36 is dedicated to the public domain
46Build-Type: Simple
57Homepage: https://github.com/agentm/project-m36
68Bug-Reports: https://github.com/agentm/project-m36/issues
@@ -8,7 +10,6 @@ Author: AgentM
810Stability: experimental
911Category: Relational Algebra
1012Maintainer: agentm@themactionfaction.com
11−Cabal-Version: >= 1.10
1213Synopsis: Relational Algebra Engine
1314Description: A relational algebra engine which can be used to persist and query Haskell data types.
1415Extra-Source-Files: Changelog.markdown README.markdown
@@ -34,7 +35,7 @@ Flag haskell-scripting
3435 Default: True
3536
3637Library
37− Build-Depends: base>=4.8 && < 4.15, ghc-paths, mtl, containers, unordered-containers, hashable, haskeline, directory, MonadRandom, random-shuffle, uuid >= 1.3.12, cassava >= 0.4.5.1 && < 0.6, text, bytestring, deepseq, deepseq-generics, vector, parallel, monad-parallel, exceptions, transformers, gnuplot, binary, filepath, zlib, directory, vector-binary-instances, temporary, stm, time, hashable-time, old-locale, rset, attoparsec, either, base64-bytestring, data-interval, extended-reals, network-transport, aeson >= 1.1, path-pieces, conduit, resourcet, http-api-data, semigroups, QuickCheck, quickcheck-instances, distributed-process-client-server >= 0.2.3, distributed-process >= 0.7.4, distributed-process-extras >= 0.3.2, distributed-process-async >= 0.2.4.1, network-transport-tcp >= 0.6.0, network-transport, list-t, stm-containers >= 0.2.15, foldl, optparse-applicative, Glob, cryptohash-sha256, text-manipulate >= 0.2.0.1 && < 0.3, vector-instances
38+ Build-Depends: base>=4.8 && < 4.15, ghc-paths, mtl, containers, unordered-containers, hashable, haskeline, directory, MonadRandom, random-shuffle, uuid >= 1.3.12, cassava >= 0.4.5.1 && < 0.6, text, bytestring, deepseq, deepseq-generics, vector, parallel, monad-parallel, exceptions, transformers, gnuplot, filepath, zlib, directory, temporary, stm, time, hashable-time, old-locale, rset, attoparsec, either, base64-bytestring, data-interval, extended-reals, aeson >= 1.1, path-pieces, conduit, resourcet, http-api-data, semigroups, QuickCheck, quickcheck-instances, list-t, stm-containers >= 0.2.15, foldl, optparse-applicative, Glob, cryptohash-sha256, text-manipulate >= 0.2.0.1 && < 0.4, winery, curryer-rpc, network, async, vector-instances, recursion-schemes, streamly >= 0.7.2, convertible
3839 if flag(haskell-scripting)
3940 Build-Depends: ghc >= 8.2 && < 8.11
4041 CPP-Options: -DPM36_HASKELL_SCRIPTING
@@ -51,6 +52,8 @@ Library
5152 ProjectM36.TransactionGraph.Merge,
5253 ProjectM36.TransGraphRelationalExpression,
5354 ProjectM36.Base,
55+ ProjectM36.Serialise.Base,
56+ ProjectM36.Serialise.Error,
5457 ProjectM36.DataFrame,
5558 ProjectM36.Attribute,
5659 ProjectM36.AttributeNames,
@@ -60,6 +63,7 @@ Library
6063 ProjectM36.AtomFunction,
6164 ProjectM36.AtomFunctionError,
6265 ProjectM36.ScriptSession,
66+ ProjectM36.Shortcuts,
6367 ProjectM36.DatabaseContextFunction,
6468 ProjectM36.DatabaseContextFunctionError,
6569 ProjectM36.DatabaseContextFunctionUtils,
@@ -110,6 +114,10 @@ Library
110114 ProjectM36.Server.EntryPoints,
111115 ProjectM36.Server.ParseArgs,
112116 ProjectM36.Server.RemoteCallTypes,
117+ ProjectM36.Serialise.AtomFunctionError,
118+ ProjectM36.Serialise.DataFrame,
119+ ProjectM36.Serialise.DatabaseContextFunctionError,
120+ ProjectM36.Serialise.IsomorphicSchema,
113121 ProjectM36.Session,
114122 ProjectM36.Sessions,
115123 ProjectM36.Transaction.Persist,
@@ -128,14 +136,14 @@ Library
128136 Other-Modules: ProjectM36.Win32Handle
129137 else
130138 --219- too many exported symbols under Windows and GHC 8.4
131− GHC-Options: -rdynamic
139+ GHC-Options: -rdynamic -fexternal-interpreter
132140 C-sources: cbits/DirectoryFsync.c, cbits/darwin_statfs.c
133141 Build-Depends: unix
134142 CC-Options: -fPIC
135143 Hs-Source-Dirs: ./src/lib
136144 Default-Language: Haskell2010
137145 Default-Extensions: OverloadedStrings, CPP
138− if !flag(stack)
146+ if !flag(stack)
139147 Build-Depends: deferred-folds
140148
141149Executable tutd
@@ -155,13 +163,11 @@ Executable tutd
155163 MonadRandom, MonadRandom,
156164 vector,
157165 text,
158− vector-binary-instances,
159166 time,
160167 hashable-time,
161168 bytestring,
162169 stm,
163170 deepseq,
164− binary,
165171 data-interval,
166172 parallel,
167173 cassava,
@@ -169,7 +175,7 @@ Executable tutd
169175 directory,
170176 filepath,
171177 temporary,
172− megaparsec >= 5.2.0 && < 9,
178+ megaparsec >= 5.2.0 && < 10,
173179 haskeline,
174180 random, MonadRandom,
175181 base64-bytestring,
@@ -178,7 +184,14 @@ Executable tutd
178184 stm-containers >= 1.0.0,
179185 list-t,
180186 parser-combinators,
181− prettyprinter
187+ curryer-rpc,
188+ prettyprinter,
189+ cryptohash-sha256,
190+ --due to decode signature change
191+ base16-bytestring >= 1.0.0.0,
192+ http-conduit,
193+ modern-uri,
194+ http-types
182195 Other-Modules: TutorialD.Interpreter,
183196 TutorialD.Interpreter.Base,
184197 TutorialD.Interpreter.DatabaseContextExpr,
@@ -210,9 +223,8 @@ Executable project-m36-server
210223 Build-Depends: ghc >= 8.2 && < 8.11
211224 Build-Depends: base,
212225 ghc-paths,
213− project-m36,
214− binary,
215226 transformers,
227+ project-m36,
216228 temporary,
217229 data-interval,
218230 deepseq,
@@ -225,7 +237,6 @@ Executable project-m36-server
225237 optparse-applicative,
226238 hashable-time,
227239 time,
228− vector-binary-instances,
229240 text,
230241 deepseq-generics,
231242 mtl,
@@ -247,7 +258,7 @@ Executable project-m36-server
247258Executable bigrel
248259 Default-Language: Haskell2010
249260 Default-Extensions: OverloadedStrings
250− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t, ghc, ghc-paths, transformers, project-m36, random, MonadRandom, semigroups, parser-combinators
261+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t, ghc, ghc-paths, transformers, project-m36, random, MonadRandom, semigroups, parser-combinators
251262 Other-Modules: TutorialD.Interpreter.Base,
252263 TutorialD.Interpreter.DatabaseContextExpr,
253264 TutorialD.Interpreter.RelationalExpr,
@@ -258,6 +269,13 @@ Executable bigrel
258269 if flag(profiler)
259270 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
260271
272+Common commontest
273+ Default-Language: Haskell2010
274+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, parser-combinators, winery, curryer-rpc, prettyprinter, base64-bytestring, modern-uri, http-types, http-conduit, base16-bytestring,cryptohash-sha256
275+ Default-Extensions: OverloadedStrings
276+ GHC-Options: -Wall -threaded
277+ Hs-Source-Dirs: test, src/bin
278+
261279Benchmark basic-benchmark
262280 Default-Language: Haskell2010
263281 Default-Extensions: OverloadedStrings
@@ -269,157 +287,131 @@ Benchmark basic-benchmark
269287 if flag(profiler)
270288 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
271289
290+--benchmark inserts, updates, deletes for a basic use-case to shake out any space leaks
291+Benchmark update-exprs
292+ Default-Language: Haskell2010
293+ Default-Extensions: OverloadedStrings
294+ Build-Depends: base, criterion, project-m36, text, winery
295+ Main-Is: benchmark/Server.hs
296+ Type: exitcode-stdio-1.0
297+ GHC-Options: -Wall -threaded -rtsopts
298+ HS-Source-Dirs: ./src/bin
299+ if flag(profiler)
300+ GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall -fexternal-interpreter
301+
272302Test-Suite test-tutoriald
273− Default-Language: Haskell2010
274− Default-Extensions: OverloadedStrings
303+ import: commontest
275304 type: exitcode-stdio-1.0
276− main-is: test/TutorialD/Interpreter.hs
277− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, list-t, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
305+ main-is: TutorialD/InterpreterTest.hs
278306 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.SchemaOperator, TutorialD.Printer
279− GHC-Options: -Wall -threaded
280− Hs-Source-Dirs: ./src/bin, ., test
307+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, list-t, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
281308
282309Test-Suite test-tutoriald-atomfunctionscript
283− Default-Language: Haskell2010
284− Default-Extensions: OverloadedStrings
310+ import: commontest
285311 type: exitcode-stdio-1.0
286312 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Interpreter.SchemaOperator, TutorialD.Printer
287− main-is: test/TutorialD/Interpreter/AtomFunctionScript.hs
288− Build-Depends: base, HUnit, project-m36, uuid, containers, megaparsec, text, vector, directory, bytestring, mtl, haskeline, random, MonadRandom, semigroups, time, parser-combinators, prettyprinter, base64-bytestring
289− GHC-Options: -Wall -threaded
290− Hs-Source-Dirs: ./src/bin, ./test, .
313+ main-is: TutorialD/Interpreter/AtomFunctionScript.hs
291314
292315Test-Suite test-tutoriald-databasecontextfunctionscript
293− Default-Language: Haskell2010
294− Default-Extensions: OverloadedStrings
316+ import: commontest
295317 type: exitcode-stdio-1.0
296318 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Interpreter.SchemaOperator, TutorialD.Printer
297− main-is: test/TutorialD/Interpreter/DatabaseContextFunctionScript.hs
298− Build-Depends: base, HUnit, project-m36, uuid, containers, megaparsec, text, vector, directory, bytestring, mtl, haskeline, random, MonadRandom, semigroups, time, parser-combinators, prettyprinter, base64-bytestring
299− GHC-Options: -Wall -threaded
300− Hs-Source-Dirs: ./src/bin, ./test, .
319+ main-is: TutorialD/Interpreter/DatabaseContextFunctionScript.hs
301320
302321Test-Suite test-relation
303− Default-Language: Haskell2010
304− Default-Extensions: OverloadedStrings
322+ import: commontest
305323 type: exitcode-stdio-1.0
306− main-is: test/Relation/Basic.hs
307− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, transformers
308− GHC-Options: -Wall -threaded
324+ main-is: Relation/Basic.hs
309325
310326Test-Suite test-static-optimizer
311− Default-Language: Haskell2010
312− Default-Extensions: OverloadedStrings
327+ import: commontest
313328 type: exitcode-stdio-1.0
314− main-is: test/Relation/StaticOptimizer.hs
315− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, transformers
316− GHC-Options: -Wall -threaded
329+ main-is: Relation/StaticOptimizer.hs
317330
318331Test-Suite test-transactiongraph-persist
319− Default-Language: Haskell2010
320− Default-Extensions: OverloadedStrings
332+ import: commontest
321333 type: exitcode-stdio-1.0
322− main-is: test/TransactionGraph/Persist.hs
323− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
334+ main-is: TransactionGraph/Persist.hs
324335 Other-Modules: TutorialD.Interpreter.Base, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Printer
325− Hs-Source-Dirs: ., ./src/bin
326− GHC-Options: -Wall -threaded
327336
328337Test-Suite test-relation-import-csv
329− Default-Language: Haskell2010
330− Default-Extensions: OverloadedStrings
338+ import: commontest
331339 type: exitcode-stdio-1.0
332− main-is: test/Relation/Import/CSV.hs
333− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, prettyprinter
334− GHC-Options: -Wall -threaded
340+ main-is: Relation/Import/CSV.hs
335341
336342Test-Suite test-tutoriald-import-tutoriald
337− Default-Language: Haskell2010
338− Default-Extensions: OverloadedStrings
343+ import: commontest
339344 type: exitcode-stdio-1.0
340− main-is: test/TutorialD/Interpreter/Import/TutorialD.hs
341− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
345+ main-is: TutorialD/Interpreter/Import/ImportTest.hs
342346 Other-Modules: TutorialD.Interpreter.Base, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Printer
343− GHC-Options: -Wall -threaded
344− Hs-Source-Dirs: ., ./src/bin
345347
346348Test-Suite test-relation-export-csv
347− Default-Language: Haskell2010
348− Default-Extensions: OverloadedStrings
349+ import: commontest
349350 type: exitcode-stdio-1.0
350− main-is: test/Relation/Export/CSV.hs
351− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, stm-containers, project-m36, prettyprinter
352− GHC-Options: -Wall -threaded
351+ main-is: Relation/Export/CSV.hs
353352
354353Test-Suite test-transactiongraph-merge
355− Default-Language: Haskell2010
356− Default-Extensions: OverloadedStrings
354+ import: commontest
357355 type: exitcode-stdio-1.0
358− main-is: test/TransactionGraph/Merge.hs
359− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, template-haskell, transformers, aeson, conduit, either, path-pieces, http-api-data, stm-containers, list-t, project-m36
360− GHC-Options: -Wall -threaded
356+ main-is: TransactionGraph/Merge.hs
357+
361358
362359Test-Suite test-prettyprinter
363− Default-Language: Haskell2010
364− Default-Extensions: OverloadedStrings
360+ import: commontest
365361 type: exitcode-stdio-1.0
366− main-is: test/TutorialD/Printer.hs
367− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, template-haskell, transformers, aeson, conduit, either, path-pieces, http-api-data, stm-containers, list-t, project-m36, prettyprinter, random, MonadRandom, parser-combinators, base64-bytestring
368− GHC-Options: -Wall -threaded
362+ main-is: TutorialD/PrinterTest.hs
369363 Other-Modules: TutorialD.Printer, TutorialD.Interpreter.Base, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types
370− Hs-Source-Dirs: ., ./src/bin
371364
372365benchmark bench
373− Default-Language: Haskell2010
374− Default-Extensions: OverloadedStrings
366+ import: commontest
375367 type: exitcode-stdio-1.0
376368 main-is: benchmark/Relation.hs
377− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, criterion, stm-containers, project-m36
378− GHC-Options: -Wall -rtsopts -threaded
379− Hs-Source-Dirs: ./src/bin
380369
381370Test-Suite test-server
382− Default-Language: Haskell2010
383− Default-Extensions: OverloadedStrings
371+ import: commontest
384372 type: exitcode-stdio-1.0
385− main-is: test/Server/Main.hs
386− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, project-m36, network-transport, semigroups
387− HS-Source-Dirs: ., ./src/bin
388− GHC-Options: -Wall -threaded
373+ main-is: Server/Main.hs
374+
389375
390376Executable Example-SimpleClient
391377 Default-Language: Haskell2010
392378 Default-Extensions: OverloadedStrings
393− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, ghc, ghc-paths, project-m36, random, MonadRandom
379+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, ghc, ghc-paths, project-m36, random, MonadRandom
394380 Main-Is: examples/SimpleClient.hs
395381 GHC-Options: -Wall -threaded
396382
397383Executable Example-OutOfTheTarpit
398384 Default-Language: Haskell2010
399385 Default-Extensions: OverloadedStrings
400− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36
386+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36, winery
401387 Main-Is: examples/out_of_the_tarpit.hs
402388 GHC-Options: -Wall -threaded
403389
404390Executable Example-Blog
405391 Default-Language: Haskell2010
406392 Default-Extensions: OverloadedStrings
407− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36, scotty, blaze-html, http-types
393+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36, scotty, blaze-html, http-types, winery
408394 Main-Is: examples/blog.hs
409395 GHC-Options: -Wall -threaded
410396
411−
412397Executable Example-Hair
413398 Default-Language: Haskell2010
414399 Default-Extensions: OverloadedStrings
415− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36
400+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36, winery
416401 Main-Is: examples/hair.hs
417402 GHC-Options: -Wall -threaded
418403
404+Executable Example-Plantfarm
405+ Default-Language: Haskell2010
406+ Default-Extensions: OverloadedStrings
407+ Build-Depends: aeson, barbies, base, binary, containers, deepseq, hashable, project-m36, random, scotty, text, winery
408+ Main-Is: examples/Plantfarm.hs
409+ GHC-Options: -Wall -threaded
410+
419411Executable Example-CustomTupleable
420412 Default-Language: Haskell2010
421413 Default-Extensions: OverloadedStrings
422− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36
414+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, aeson, path-pieces, either, conduit, http-api-data, template-haskell, ghc, ghc-paths, project-m36, winery
423415 Main-Is: examples/CustomTupleable.hs
424416 GHC-Options: -Wall -threaded
425417
@@ -429,23 +421,19 @@ Executable Example-DerivingCustomTupleable
429421 else
430422 Buildable: False
431423 Default-Language: Haskell2010
432− Build-Depends: base, text, deepseq, binary, project-m36
424+ Build-Depends: base, text, deepseq, project-m36, winery
433425 Main-Is: examples/DerivingCustomTupleable.hs
434426 GHC-Options: -Wall -threaded
435427
436428Test-Suite test-scripts
437− Default-Language: Haskell2010
438− Default-Extensions: OverloadedStrings
429+ import: commontest
439430 type: exitcode-stdio-1.0
440− main-is: test/scripts.hs
441− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
431+ main-is: scripts.hs
442432 Other-Modules: TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Printer
443− GHC-Options: -Wall -threaded
444− Hs-Source-Dirs: ., ./src/bin
445433
446434Executable project-m36-websocket-server
447435 Default-Language: Haskell2010
448− Build-Depends: base, aeson, path-pieces, either, conduit, http-api-data, template-haskell, websockets, aeson, optparse-applicative, project-m36, containers, bytestring, text, vector, uuid, megaparsec, haskeline, mtl, directory, base64-bytestring, random, MonadRandom, time, network-transport-tcp, semigroups, attoparsec, parser-combinators, prettyprinter
436+ Build-Depends: base, aeson, path-pieces, either, conduit, http-api-data, template-haskell, websockets, aeson, optparse-applicative, project-m36, containers, bytestring, text, vector, uuid, megaparsec, haskeline, mtl, directory, base64-bytestring, random, MonadRandom, time, semigroups, attoparsec, parser-combinators, prettyprinter, network, modern-uri, http-conduit, base16-bytestring, http-types, cryptohash-sha256, wai, wai-websockets, warp, warp-tls
449437 Main-Is: ProjectM36/Server/WebSocket/websocket-server.hs
450438 Other-Modules: ProjectM36.Client.Json, ProjectM36.Server.RemoteCallTypes.Json, ProjectM36.Server.WebSocket, TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.SchemaOperator, TutorialD.Printer
451439 GHC-Options: -Wall -threaded
@@ -453,78 +441,48 @@ Executable project-m36-websocket-server
453441 Default-Extensions: OverloadedStrings
454442
455443Test-Suite test-websocket-server
456− Default-Language: Haskell2010
444+ import: commontest
457445 type: exitcode-stdio-1.0
458− main-is: test/Server/WebSocket.hs
459− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, network-transport-tcp, semigroups, parser-combinators, prettyprinter
446+ main-is: Server/WebSocket.hs
460447 Other-Modules: TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.TransactionGraphOperator, ProjectM36.Client.Json, ProjectM36.Server.RemoteCallTypes.Json, ProjectM36.Server.WebSocket, TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.SchemaOperator, TutorialD.Printer
461− Default-Extensions: OverloadedStrings
462− GHC-Options: -Wall -threaded
463− Hs-Source-Dirs: ./src/bin, .
464448
465449Test-Suite test-isomorphic-schemas
466− Default-Language: Haskell2010
450+ import: commontest
467451 type: exitcode-stdio-1.0
468− main-is: test/IsomorphicSchema.hs
469− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, prettyprinter
470− Default-Extensions: OverloadedStrings
471− GHC-Options: -Wall -threaded
472− Hs-Source-Dirs: ./src/bin, .
473− Other-Modules: TutorialD.Printer
452+ main-is: IsomorphicSchema.hs
474453
475454Test-Suite test-atomable
476− Default-Language: Haskell2010
455+ import: commontest
477456 type: exitcode-stdio-1.0
478− main-is: test/Relation/Atomable.hs
479− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
457+ main-is: Relation/Atomable.hs
480458 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.SchemaOperator, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Printer
481− Default-Extensions: OverloadedStrings
482− GHC-Options: -Wall -threaded
483− Hs-Source-Dirs: ./src/bin, ., test/
484459
485460Test-Suite test-multiprocess-access
486− Default-Language: Haskell2010
461+ import: commontest
487462 type: exitcode-stdio-1.0
488− main-is: test/MultiProcessDatabaseAccess.hs
489− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom
490− Default-Extensions: OverloadedStrings
491− GHC-Options: -Wall -threaded
492− Hs-Source-Dirs: ./src/bin, ., test/
463+ main-is: MultiProcessDatabaseAccess.hs
493464
494465Test-Suite test-transactiongraph-automerge
495− Default-Language: Haskell2010
466+ import: commontest
496467 type: exitcode-stdio-1.0
497− main-is: test/TransactionGraph/Automerge.hs
498− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
468+ main-is: TransactionGraph/Automerge.hs
499469 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.SchemaOperator, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Printer
500− Default-Extensions: OverloadedStrings
501− GHC-Options: -Wall -threaded
502− Hs-Source-Dirs: ./src/bin, ., test/
503470
504471Test-Suite test-tupleable
505− Default-Language: Haskell2010
472+ import: commontest
506473 type: exitcode-stdio-1.0
507− main-is: test/Relation/Tupleable.hs
508− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, prettyprinter
509− Default-Extensions: OverloadedStrings
510− GHC-Options: -Wall -threaded
511− Hs-Source-Dirs: ./src/bin, ., test/
474+ main-is: Relation/Tupleable.hs
512475
513476Test-Suite test-client-simple
514− Default-Language: Haskell2010
515− Main-Is: test/Client/Simple.hs
477+ import: commontest
478+ Main-Is: Client/Simple.hs
516479 type: exitcode-stdio-1.0
517− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, prettyprinter
518− Default-Extensions: OverloadedStrings
519− GHC-Options: -Wall -threaded
520− Hs-Source-Dirs: ./src/bin, ., test/
521− Other-Modules: TutorialD.Printer
522480
523481-- test for file handle leaks
524482Executable handles
525483 Default-Language: Haskell2010
526484 Default-Extensions: OverloadedStrings
527− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t, ghc, ghc-paths, transformers, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
485+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics,parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t, ghc, ghc-paths, transformers, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter, modern-uri, http-types, http-conduit, base16-bytestring, cryptohash-sha256
528486 main-is: benchmark/Handles.hs
529487 Other-Modules: TutorialD.Interpreter,
530488 TutorialD.Interpreter.Base,
@@ -550,11 +508,7 @@ Executable handles
550508 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
551509
552510Test-Suite test-dataframe
553− Default-Language: Haskell2010
554− Main-Is: test/DataFrame.hs
511+ import: commontest
555512 type: exitcode-stdio-1.0
513+ Main-Is: DataFrame.hs
556514 Other-Modules: TutorialD.Interpreter, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.DatabaseContextIOOperator, TutorialD.Interpreter.Export.Base, TutorialD.Interpreter.Export.CSV, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Interpreter.Import.CSV, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.InformationOperator, TutorialD.Interpreter.RODatabaseContextOperator, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.SchemaOperator, TutorialD.Interpreter.TestBase, TutorialD.Interpreter.TransGraphRelationalOperator, TutorialD.Interpreter.TransactionGraphOperator, TutorialD.Interpreter.Types, TutorialD.Printer
557− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, megaparsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, websockets, optparse-applicative, network, aeson, project-m36, random, MonadRandom, semigroups, parser-combinators, prettyprinter
558− Default-Extensions: OverloadedStrings
559− GHC-Options: -Wall -threaded
560− Hs-Source-Dirs: ./src/bin, ., test/