@@ -2,7 +2,7 @@ Cabal-Version: 2.2
22Name: project-m36
33Version: 0.9.3
44License: 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
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
66Build-Type: Simple
77Homepage: https://github.com/agentm/project-m36
88Bug-Reports: https://github.com/agentm/project-m36/issues
@@ -143,7 +143,7 @@ Library
143143 Hs-Source-Dirs: ./src/lib
144144 Default-Language: Haskell2010
145145 Default-Extensions: OverloadedStrings, CPP
146− if !flag(stack)
146+ if !flag(stack)
147147 Build-Depends: deferred-folds
148148
149149Executable tutd
@@ -187,8 +187,8 @@ Executable tutd
187187 curryer-rpc,
188188 prettyprinter,
189189 cryptohash-sha256,
190− --due to decode signature change
191− base16-bytestring >= 1.0.0.0,
190+ --due to decode signature change
191+ base16-bytestring >= 1.0.0.0,
192192 http-conduit,
193193 modern-uri,
194194 http-types
@@ -270,11 +270,11 @@ Executable bigrel
270270 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
271271
272272Common commontest
273− Default-Language: Haskell2010
273+ Default-Language: Haskell2010
274274 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
275275 Default-Extensions: OverloadedStrings
276276 GHC-Options: -Wall -threaded
277− Hs-Source-Dirs: ./src/bin, ., test/
277+ Hs-Source-Dirs: test, src/bin
278278
279279Benchmark basic-benchmark
280280 Default-Language: Haskell2010
@@ -287,7 +287,7 @@ Benchmark basic-benchmark
287287 if flag(profiler)
288288 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
289289
290−--benchmark inserts, updates, deletes for a basic use-case to shake out any space leaks
290+--benchmark inserts, updates, deletes for a basic use-case to shake out any space leaks
291291Benchmark update-exprs
292292 Default-Language: Haskell2010
293293 Default-Extensions: OverloadedStrings
@@ -302,7 +302,7 @@ Benchmark update-exprs
302302Test-Suite test-tutoriald
303303 import: commontest
304304 type: exitcode-stdio-1.0
305− main-is: test/TutorialD/Interpreter.hs
305+ main-is: TutorialD/InterpreterTest.hs
306306 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
307307 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
308308
@@ -310,56 +310,56 @@ Test-Suite test-tutoriald-atomfunctionscript
310310 import: commontest
311311 type: exitcode-stdio-1.0
312312 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
313− main-is: test/TutorialD/Interpreter/AtomFunctionScript.hs
313+ main-is: TutorialD/Interpreter/AtomFunctionScript.hs
314314
315315Test-Suite test-tutoriald-databasecontextfunctionscript
316316 import: commontest
317317 type: exitcode-stdio-1.0
318318 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
319− main-is: test/TutorialD/Interpreter/DatabaseContextFunctionScript.hs
319+ main-is: TutorialD/Interpreter/DatabaseContextFunctionScript.hs
320320
321321Test-Suite test-relation
322322 import: commontest
323323 type: exitcode-stdio-1.0
324− main-is: test/Relation/Basic.hs
324+ main-is: Relation/Basic.hs
325325
326326Test-Suite test-static-optimizer
327327 import: commontest
328328 type: exitcode-stdio-1.0
329− main-is: test/Relation/StaticOptimizer.hs
329+ main-is: Relation/StaticOptimizer.hs
330330
331331Test-Suite test-transactiongraph-persist
332332 import: commontest
333333 type: exitcode-stdio-1.0
334− main-is: test/TransactionGraph/Persist.hs
334+ main-is: TransactionGraph/Persist.hs
335335 Other-Modules: TutorialD.Interpreter.Base, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.BasicExamples, TutorialD.Printer
336336
337337Test-Suite test-relation-import-csv
338338 import: commontest
339339 type: exitcode-stdio-1.0
340− main-is: test/Relation/Import/CSV.hs
340+ main-is: Relation/Import/CSV.hs
341341
342342Test-Suite test-tutoriald-import-tutoriald
343343 import: commontest
344344 type: exitcode-stdio-1.0
345− main-is: test/TutorialD/Interpreter/Import/TutorialD.hs
345+ main-is: TutorialD/Interpreter/Import/ImportTest.hs
346346 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
347347
348348Test-Suite test-relation-export-csv
349349 import: commontest
350350 type: exitcode-stdio-1.0
351− main-is: test/Relation/Export/CSV.hs
351+ main-is: Relation/Export/CSV.hs
352352
353353Test-Suite test-transactiongraph-merge
354354 import: commontest
355355 type: exitcode-stdio-1.0
356− main-is: test/TransactionGraph/Merge.hs
356+ main-is: TransactionGraph/Merge.hs
357357
358358
359359Test-Suite test-prettyprinter
360360 import: commontest
361361 type: exitcode-stdio-1.0
362− main-is: test/TutorialD/Printer.hs
362+ main-is: TutorialD/PrinterTest.hs
363363 Other-Modules: TutorialD.Printer, TutorialD.Interpreter.Base, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types
364364
365365benchmark bench
@@ -370,7 +370,7 @@ benchmark bench
370370Test-Suite test-server
371371 import: commontest
372372 type: exitcode-stdio-1.0
373− main-is: test/Server/Main.hs
373+ main-is: Server/Main.hs
374374
375375
376376Executable Example-SimpleClient
@@ -428,12 +428,12 @@ Executable Example-DerivingCustomTupleable
428428Test-Suite test-scripts
429429 import: commontest
430430 type: exitcode-stdio-1.0
431− main-is: test/scripts.hs
431+ main-is: scripts.hs
432432 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
433433
434434Executable project-m36-websocket-server
435435 Default-Language: Haskell2010
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
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
437437 Main-Is: ProjectM36/Server/WebSocket/websocket-server.hs
438438 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
439439 GHC-Options: -Wall -threaded
@@ -443,39 +443,39 @@ Executable project-m36-websocket-server
443443Test-Suite test-websocket-server
444444 import: commontest
445445 type: exitcode-stdio-1.0
446− main-is: test/Server/WebSocket.hs
446+ main-is: Server/WebSocket.hs
447447 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
448448
449449Test-Suite test-isomorphic-schemas
450450 import: commontest
451451 type: exitcode-stdio-1.0
452− main-is: test/IsomorphicSchema.hs
452+ main-is: IsomorphicSchema.hs
453453
454454Test-Suite test-atomable
455455 import: commontest
456456 type: exitcode-stdio-1.0
457− main-is: test/Relation/Atomable.hs
457+ main-is: Relation/Atomable.hs
458458 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
459459
460460Test-Suite test-multiprocess-access
461461 import: commontest
462462 type: exitcode-stdio-1.0
463− main-is: test/MultiProcessDatabaseAccess.hs
463+ main-is: MultiProcessDatabaseAccess.hs
464464
465465Test-Suite test-transactiongraph-automerge
466466 import: commontest
467467 type: exitcode-stdio-1.0
468− main-is: test/TransactionGraph/Automerge.hs
468+ main-is: TransactionGraph/Automerge.hs
469469 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
470470
471471Test-Suite test-tupleable
472472 import: commontest
473473 type: exitcode-stdio-1.0
474− main-is: test/Relation/Tupleable.hs
474+ main-is: Relation/Tupleable.hs
475475
476476Test-Suite test-client-simple
477477 import: commontest
478− Main-Is: test/Client/Simple.hs
478+ Main-Is: Client/Simple.hs
479479 type: exitcode-stdio-1.0
480480
481481-- test for file handle leaks
@@ -506,9 +506,9 @@ Executable handles
506506 HS-Source-Dirs: ./src/bin
507507 if flag(profiler)
508508 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
509−
509+
510510Test-Suite test-dataframe
511511 import: commontest
512512 type: exitcode-stdio-1.0
513− Main-Is: test/DataFrame.hs
513+ Main-Is: DataFrame.hs
514514 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