@@ -20,7 +20,8 @@ Library
2020 ,hashable
2121 ,haskeline
2222 ,directory
23− ,uuid
23+ --critical uuid bug in lesser versions https://www.reddit.com/r/haskell/comments/4myot5/psa_make_sure_to_use_uuid_1312/
24+ ,uuid >= 1.3.12
2425 ,cassava ==0.4.*
2526 ,text
2627 ,bytestring
@@ -35,7 +36,6 @@ Library
3536 ,filepath
3637 ,directory
3738 ,vector-binary-instances
38− ,unix
3939 ,temporary
4040 ,stm
4141 ,time
@@ -48,7 +48,7 @@ Library
4848 ,extended-reals
4949 ,network-transport
5050--required for persistent db driver
51− ,persistent
51+ ,persistent >= 2.2 && < 2.3
5252 ,persistent-template
5353 ,aeson
5454 ,path-pieces
@@ -89,9 +89,33 @@ Library
8989 ProjectM36.Client,
9090 ProjectM36.Persist,
9191 ProjectM36.AtomType,
92+ ProjectM36.AtomFunctions.Basic,
93+ ProjectM36.AtomFunctions.Primitive,
94+ ProjectM36.ConcreteTypeRep,
95+ ProjectM36.DataConstructorDef,
96+ ProjectM36.DataTypes.Basic,
97+ ProjectM36.DataTypes.Day,
98+ ProjectM36.DataTypes.Either,
99+ ProjectM36.DataTypes.Maybe,
100+ ProjectM36.DataTypes.Primitive,
101+ ProjectM36.MiscUtils,
102+ ProjectM36.Notifications,
103+ ProjectM36.Relation,
104+ ProjectM36.Server.RemoteCallTypes,
105+ ProjectM36.Session,
106+ ProjectM36.Sessions,
107+ ProjectM36.Transaction.Persist,
108+ ProjectM36.TypeConstructor,
109+ ProjectM36.TypeConstructorDef,
110+ ProjectM36.TransactionGraph.Merge,
92111 Database.Persist.ProjectM36
93112 GHC-Options: -Wall -rtsopts
94− C-sources: ProjectM36/DirectoryFsync.c
113+ if os(windows)
114+ Build-Depends: Win32 >= 2.3 && < 2.4
115+ Other-Modules: ProjectM36.Win32Handle
116+ else
117+ C-sources: ProjectM36/DirectoryFsync.c
118+ Build-Depends: unix
95119 Default-Language: Haskell2010
96120
97121Executable tutd
@@ -119,7 +143,6 @@ Executable tutd
119143 deepseq,
120144 binary,
121145 data-interval,
122− unix,
123146 parallel,
124147 cassava,
125148 gnuplot,
@@ -139,15 +162,67 @@ Executable tutd
139162 ProjectM36.Transaction,
140163 TutorialD.Interpreter,
141164 TutorialD.Interpreter.Base,
142− TutorialD.Interpreter.DatabaseExpr,
165+ TutorialD.Interpreter.DatabaseContextExpr,
143166 TutorialD.Interpreter.RODatabaseContextOperator,
144167 TutorialD.Interpreter.TransactionGraphOperator,
145168 TutorialD.Interpreter.DataTypes.Interval,
146− TutorialD.Interpreter.DataTypes.DateTime
169+ TutorialD.Interpreter.DataTypes.DateTime,
170+ ProjectM36.Atom,
171+ ProjectM36.AtomFunction,
172+ ProjectM36.AtomFunctions.Basic,
173+ ProjectM36.AtomFunctions.Primitive,
174+ ProjectM36.AtomType,
175+ ProjectM36.Attribute,
176+ ProjectM36.AttributeNames,
177+ ProjectM36.Client,
178+ ProjectM36.ConcreteTypeRep,
179+ ProjectM36.DataConstructorDef,
180+ ProjectM36.DataTypes.Basic,
181+ ProjectM36.DataTypes.Day,
182+ ProjectM36.DataTypes.Either,
183+ ProjectM36.DataTypes.Maybe,
184+ ProjectM36.DataTypes.Primitive,
185+ ProjectM36.DatabaseContext,
186+ ProjectM36.Key,
187+ ProjectM36.MiscUtils,
188+ ProjectM36.Notifications,
189+ ProjectM36.Persist,
190+ ProjectM36.Relation,
191+ ProjectM36.Relation.Parse.CSV,
192+ ProjectM36.Relation.Show.CSV,
193+ ProjectM36.Relation.Show.Gnuplot,
194+ ProjectM36.Relation.Show.Term,
195+ ProjectM36.Server.RemoteCallTypes,
196+ ProjectM36.Session,
197+ ProjectM36.Sessions,
198+ ProjectM36.StaticOptimizer,
199+ ProjectM36.Transaction.Persist,
200+ ProjectM36.TransactionGraph,
201+ ProjectM36.TransactionGraph.Persist,
202+ ProjectM36.Tuple,
203+ ProjectM36.TupleSet,
204+ ProjectM36.TypeConstructor,
205+ ProjectM36.TypeConstructorDef,
206+ ProjectM36.TransactionGraph.Merge,
207+ TutorialD.Interpreter.InformationOperator,
208+ TutorialD.Interpreter.Export.Base,
209+ TutorialD.Interpreter.Export.CSV,
210+ TutorialD.Interpreter.Import.Base,
211+ TutorialD.Interpreter.Import.CSV,
212+ TutorialD.Interpreter.Import.TutorialD,
213+ TutorialD.Interpreter.RelationalExpr,
214+ TutorialD.Interpreter.Types
147215 main-is: TutorialD/tutd.hs
148− GHC-Options: -Wall
149− C-sources: ProjectM36/DirectoryFsync.c
216+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
217+ GHC-Options: -Wall
150218 Default-Language: Haskell2010
219+ if os(windows)
220+ Build-Depends: Win32 >= 2.3 && < 2.4
221+ Other-Modules: ProjectM36.Win32Handle
222+ else
223+ C-sources: ProjectM36/DirectoryFsync.c
224+ Build-Depends: unix
225+
151226
152227Executable project-m36-server
153228 Build-Depends: base,
@@ -161,7 +236,6 @@ Executable project-m36-server
161236 binary,
162237 transformers,
163238 temporary,
164− unix,
165239 data-interval,
166240 deepseq,
167241 uuid,
@@ -186,116 +260,361 @@ Executable project-m36-server
186260 list-t,
187261 base64-bytestring
188262 Main-Is: ProjectM36/Server/project-m36-server.hs
263+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
189264 GHC-Options: -Wall -threaded -rtsopts
190265 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
191− C-sources: ProjectM36/DirectoryFsync.c
192266 Default-Language: Haskell2010
193−
267+ Other-Modules: ProjectM36.Atom,
268+ ProjectM36.AtomFunction,
269+ ProjectM36.AtomFunctions.Basic,
270+ ProjectM36.AtomFunctions.Primitive,
271+ ProjectM36.AtomType,
272+ ProjectM36.Attribute,
273+ ProjectM36.AttributeNames,
274+ ProjectM36.Base,
275+ ProjectM36.Client,
276+ ProjectM36.ConcreteTypeRep,
277+ ProjectM36.DataConstructorDef,
278+ ProjectM36.DataTypes.Basic,
279+ ProjectM36.DataTypes.Day,
280+ ProjectM36.DataTypes.Either,
281+ ProjectM36.DataTypes.Maybe,
282+ ProjectM36.DataTypes.Primitive,
283+ ProjectM36.DatabaseContext,
284+ ProjectM36.Error,
285+ ProjectM36.MiscUtils,
286+ ProjectM36.Notifications,
287+ ProjectM36.Persist,
288+ ProjectM36.Relation,
289+ ProjectM36.RelationalExpression,
290+ ProjectM36.Server,
291+ ProjectM36.Server.Config,
292+ ProjectM36.Server.EntryPoints,
293+ ProjectM36.Server.ParseArgs,
294+ ProjectM36.Server.RemoteCallTypes,
295+ ProjectM36.Session,
296+ ProjectM36.Sessions,
297+ ProjectM36.StaticOptimizer,
298+ ProjectM36.Transaction,
299+ ProjectM36.Transaction.Persist,
300+ ProjectM36.TransactionGraph,
301+ ProjectM36.TransactionGraph.Persist,
302+ ProjectM36.TransactionGraph.Merge,
303+ ProjectM36.Tuple,
304+ ProjectM36.TupleSet,
305+ ProjectM36.TypeConstructor,
306+ ProjectM36.TypeConstructorDef
307+ if os(windows)
308+ Build-Depends: Win32 >= 2.3 && < 2.4
309+ Other-Modules: ProjectM36.Win32Handle
310+ else
311+ C-sources: ProjectM36/DirectoryFsync.c
312+ Build-Depends: unix
313+
194314
195315Executable bigrel
196316 Default-Language: Haskell2010
197− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t
317+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, optparse-applicative, stm-containers, list-t
198318 Other-Modules: ProjectM36.Base,
199319 ProjectM36.Relation
200320 ProjectM36.Tuple,
201321 ProjectM36.Error,
202− ProjectM36.Relation.Show.CSV
322+ ProjectM36.Relation.Show.CSV,
323+ ProjectM36.Atom,
324+ ProjectM36.AtomFunction,
325+ ProjectM36.AtomFunctions.Basic,
326+ ProjectM36.AtomFunctions.Primitive,
327+ ProjectM36.AtomType,
328+ ProjectM36.Attribute,
329+ ProjectM36.AttributeNames,
330+ ProjectM36.ConcreteTypeRep,
331+ ProjectM36.DataConstructorDef,
332+ ProjectM36.DataTypes.Basic,
333+ ProjectM36.DataTypes.Day,
334+ ProjectM36.DataTypes.Either,
335+ ProjectM36.DataTypes.Maybe,
336+ ProjectM36.DataTypes.Primitive,
337+ ProjectM36.DatabaseContext,
338+ ProjectM36.DateExamples,
339+ ProjectM36.Key,
340+ ProjectM36.MiscUtils,
341+ ProjectM36.Relation.Show.HTML,
342+ ProjectM36.RelationalExpression,
343+ ProjectM36.StaticOptimizer,
344+ ProjectM36.TupleSet,
345+ ProjectM36.TypeConstructor,
346+ ProjectM36.TypeConstructorDef,
347+ TutorialD.Interpreter.Base,
348+ TutorialD.Interpreter.DatabaseContextExpr,
349+ TutorialD.Interpreter.RelationalExpr,
350+ TutorialD.Interpreter.Types
203351 main-is: benchmark/bigrel.hs
204352 GHC-Options: -Wall -threaded -rtsopts
353+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
205354 GHC-Prof-Options: -fprof-auto -rtsopts -threaded -Wall
206− C-sources: ProjectM36/DirectoryFsync.c
355+ if os(windows)
356+ Build-Depends: Win32 >= 2.3 && < 2.4
357+ Other-Modules: ProjectM36.Win32Handle
358+ else
359+ C-sources: ProjectM36/DirectoryFsync.c
360+ Build-Depends: unix
361+
207362
208363Test-Suite test-tutoriald
209364 Default-Language: Haskell2010
210365 type: exitcode-stdio-1.0
211366 main-is: test/TutorialD/Interpreter.hs
212− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers, list-t
367+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers, list-t
368+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.Client, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.DateExamples, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Notifications, ProjectM36.Persist, ProjectM36.Relation, ProjectM36.Relation.Parse.CSV, ProjectM36.Relation.Show.CSV, ProjectM36.Relation.Show.Gnuplot, ProjectM36.Relation.Show.Term, ProjectM36.RelationalExpression, ProjectM36.Server.RemoteCallTypes, ProjectM36.Session, ProjectM36.Sessions, ProjectM36.StaticOptimizer, ProjectM36.Transaction, ProjectM36.Transaction.Persist, ProjectM36.TransactionGraph, ProjectM36.TransactionGraph.Persist, ProjectM36.TransactionGraph.Merge, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef, 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
213369 GHC-Options: -Wall
214− C-sources: ProjectM36/DirectoryFsync.c
370+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
371+ if os(windows)
372+ Build-Depends: Win32 >= 2.3 && < 2.4
373+ Other-Modules: ProjectM36.Win32Handle
374+ else
375+ C-sources: ProjectM36/DirectoryFsync.c
376+ Build-Depends: unix
377+
215378
216379Test-Suite test-relation
217380 Default-Language: Haskell2010
218381 type: exitcode-stdio-1.0
219382 main-is: test/Relation/Basic.hs
220− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
383+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
384+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.DateExamples, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef, ProjectM36.RelationalExpression
221385 GHC-Options: -Wall
386+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
222387
223388Test-Suite test-static-optimizer
224389 Default-Language: Haskell2010
225390 type: exitcode-stdio-1.0
226391 main-is: test/Relation/StaticOptimizer.hs
227− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
392+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
393+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.DateExamples, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.StaticOptimizer, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
228394 GHC-Options: -Wall
395+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
229396
230397Test-Suite test-transactiongraph-persist
231398 Default-Language: Haskell2010
232399 type: exitcode-stdio-1.0
233400 main-is: test/TransactionGraph/Persist.hs
234− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
401+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
402+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.DateExamples, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Persist, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.StaticOptimizer, ProjectM36.Transaction, ProjectM36.Transaction.Persist, ProjectM36.TransactionGraph, ProjectM36.TransactionGraph.Persist, ProjectM36.TransactionGraph.Merge, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef, TutorialD.Interpreter.Base, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr
235403 GHC-Options: -Wall
236− C-sources: ProjectM36/DirectoryFsync.c
404+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
405+ if os(windows)
406+ Build-Depends: Win32 >= 2.3 && < 2.4
407+ Other-Modules: ProjectM36.Win32Handle
408+ else
409+ C-sources: ProjectM36/DirectoryFsync.c
410+ Build-Depends: unix
411+
237412
238413Test-Suite test-relation-import-csv
239414 Default-Language: Haskell2010
240415 type: exitcode-stdio-1.0
241416 main-is: test/Relation/Import/CSV.hs
242− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
417+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
418+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Primitive, ProjectM36.Error, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.Relation.Parse.CSV, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
243419 GHC-Options: -Wall
420+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
244421
245422Test-Suite test-tutoriald-import-tutoriald
246423 Default-Language: Haskell2010
247424 type: exitcode-stdio-1.0
248425 main-is: test/TutorialD/Interpreter/Import/TutorialD.hs
249− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
426+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
427+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Primitive, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.StaticOptimizer, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef, TutorialD.Interpreter.Base, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types, TutorialD.Interpreter.DatabaseContextExpr
250428 GHC-Options: -Wall
429+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
251430
252431Test-Suite test-relation-export-csv
253432 Default-Language: Haskell2010
254433 type: exitcode-stdio-1.0
255434 main-is: test/Relation/Export/CSV.hs
256− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
257− GHC-Options: -Wall
435+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, stm-containers
436+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Primitive, ProjectM36.Error, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.Relation.Parse.CSV, ProjectM36.Relation.Show.CSV, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
437+ GHC-Options: -Wall
438+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
258439
259440Test-Suite test-persistent-driver
260441 Default-Language: Haskell2010
261442 type: exitcode-stdio-1.0
262443 main-is: test/persistent-driver/test.hs
444+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, template-haskell, transformers, aeson, persistent-template, conduit, persistent >= 2.2 && < 2.3, either, path-pieces, http-api-data, stm-containers, list-t
445+ GHC-Options: -Wall
446+ Other-Modules: Database.Persist.ProjectM36, ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.Client, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.Error, ProjectM36.MiscUtils, ProjectM36.Notifications, ProjectM36.Persist, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.Server.RemoteCallTypes, ProjectM36.Session, ProjectM36.Sessions, ProjectM36.StaticOptimizer, ProjectM36.Transaction, ProjectM36.Transaction.Persist, ProjectM36.TransactionGraph, ProjectM36.TransactionGraph.Persist, ProjectM36.TransactionGraph.Merge, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
447+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
448+ if os(windows)
449+ Build-Depends: Win32 >= 2.3 && < 2.4
450+ Other-Modules: ProjectM36.Win32Handle
451+ else
452+ C-sources: ProjectM36/DirectoryFsync.c
453+ Build-Depends: unix
454+
455+
456+
457+Test-Suite test-transactiongraph-merge
458+ Default-Language: Haskell2010
459+ type: exitcode-stdio-1.0
460+ main-is: test/TransactionGraph/Merge.hs
263461 Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, template-haskell, transformers, aeson, persistent-template, conduit, persistent, either, path-pieces, http-api-data, stm-containers, list-t
462+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.DateExamples, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.Transaction, ProjectM36.TransactionGraph, ProjectM36.TransactionGraph.Merge, ProjectM36.TransactionGraph.Show, ProjectM36.TransactionGraph.Show.Dot, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
264463 GHC-Options: -Wall
464+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
265465 C-sources: ProjectM36/DirectoryFsync.c
266466
267467benchmark bench
268468 Default-Language: Haskell2010
269469 type: exitcode-stdio-1.0
270470 main-is: benchmark/Relation.hs
271− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, criterion, stm-containers
471+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, criterion, stm-containers
272472 GHC-Options: -Wall -rtsopts
473+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
273474
274475Test-Suite test-server
275476 Default-Language: Haskell2010
276477 type: exitcode-stdio-1.0
277478 main-is: test/Server/Main.hs
278− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t
479+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t
279480 GHC-Options: -Wall
280− C-sources: ProjectM36/DirectoryFsync.c
481+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
482+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomFunctions.Basic, ProjectM36.AtomFunctions.Primitive, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.Client, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Basic, ProjectM36.DataTypes.Day, ProjectM36.DataTypes.Either, ProjectM36.DataTypes.Maybe, ProjectM36.DataTypes.Primitive, ProjectM36.DatabaseContext, ProjectM36.Error, ProjectM36.MiscUtils, ProjectM36.Notifications, ProjectM36.Persist, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.Server, ProjectM36.Server.Config, ProjectM36.Server.EntryPoints, ProjectM36.Server.RemoteCallTypes, ProjectM36.Session, ProjectM36.Sessions, ProjectM36.StaticOptimizer, ProjectM36.Transaction, ProjectM36.Transaction.Persist, ProjectM36.TransactionGraph, ProjectM36.TransactionGraph.Persist, ProjectM36.TransactionGraph.Merge, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef
483+ if os(windows)
484+ Build-Depends: Win32 >= 2.3 && < 2.4
485+ Other-Modules: ProjectM36.Win32Handle
486+ else
487+ C-sources: ProjectM36/DirectoryFsync.c
488+ Build-Depends: unix
489+
490+
281491
282492Executable Example-SimpleClient
283493 Default-Language: Haskell2010
284− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t
494+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t
285495 Main-Is: examples/SimpleClient.hs
286496 GHC-Options: -Wall
287− C-sources: ProjectM36/DirectoryFsync.c
497+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
498+ Other-Modules: ProjectM36.Atom,
499+ ProjectM36.AtomFunction,
500+ ProjectM36.AtomFunctions.Basic,
501+ ProjectM36.AtomFunctions.Primitive,
502+ ProjectM36.AtomType,
503+ ProjectM36.Attribute,
504+ ProjectM36.AttributeNames,
505+ ProjectM36.Base,
506+ ProjectM36.Client,
507+ ProjectM36.ConcreteTypeRep,
508+ ProjectM36.DataConstructorDef,
509+ ProjectM36.DataTypes.Basic,
510+ ProjectM36.DataTypes.Day,
511+ ProjectM36.DataTypes.Either,
512+ ProjectM36.DataTypes.Maybe,
513+ ProjectM36.DataTypes.Primitive,
514+ ProjectM36.DatabaseContext,
515+ ProjectM36.Error,
516+ ProjectM36.MiscUtils,
517+ ProjectM36.Notifications,
518+ ProjectM36.Persist,
519+ ProjectM36.Relation,
520+ ProjectM36.Relation.Show.Term,
521+ ProjectM36.RelationalExpression,
522+ ProjectM36.Server.RemoteCallTypes,
523+ ProjectM36.Session,
524+ ProjectM36.Sessions,
525+ ProjectM36.StaticOptimizer,
526+ ProjectM36.Transaction,
527+ ProjectM36.Transaction.Persist,
528+ ProjectM36.TransactionGraph,
529+ ProjectM36.TransactionGraph.Persist,
530+ ProjectM36.TransactionGraph.Merge,
531+ ProjectM36.Tuple,
532+ ProjectM36.TupleSet,
533+ ProjectM36.TypeConstructor,
534+ ProjectM36.TypeConstructorDef
535+ if os(windows)
536+ Build-Depends: Win32 >= 2.3 && < 2.4
537+ Other-Modules: ProjectM36.Win32Handle
538+ else
539+ C-sources: ProjectM36/DirectoryFsync.c
540+ Build-Depends: unix
541+
542+
288543
289544Executable Example-PersistClient
290545 Default-Language: Haskell2010
291− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, persistent, aeson, path-pieces, either, conduit, http-api-data, template-haskell, persistent-template
546+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, persistent, aeson, path-pieces, either, conduit, http-api-data, template-haskell, persistent-template
292547 Main-Is: examples/PersistClient.hs
293548 GHC-Options: -Wall
294− C-sources: ProjectM36/DirectoryFsync.c
295−
549+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
550+ Other-Modules: Database.Persist.ProjectM36,
551+ ProjectM36.Atom,
552+ ProjectM36.AtomFunction,
553+ ProjectM36.AtomFunctions.Basic,
554+ ProjectM36.AtomFunctions.Primitive,
555+ ProjectM36.AtomType,
556+ ProjectM36.Attribute,
557+ ProjectM36.AttributeNames,
558+ ProjectM36.Base,
559+ ProjectM36.Client,
560+ ProjectM36.ConcreteTypeRep,
561+ ProjectM36.DataConstructorDef,
562+ ProjectM36.DataTypes.Basic,
563+ ProjectM36.DataTypes.Day,
564+ ProjectM36.DataTypes.Either,
565+ ProjectM36.DataTypes.Maybe,
566+ ProjectM36.DataTypes.Primitive,
567+ ProjectM36.DatabaseContext,
568+ ProjectM36.Error,
569+ ProjectM36.MiscUtils,
570+ ProjectM36.Notifications,
571+ ProjectM36.Persist,
572+ ProjectM36.Relation,
573+ ProjectM36.RelationalExpression,
574+ ProjectM36.Server.RemoteCallTypes,
575+ ProjectM36.Session,
576+ ProjectM36.Sessions,
577+ ProjectM36.StaticOptimizer,
578+ ProjectM36.Transaction,
579+ ProjectM36.Transaction.Persist,
580+ ProjectM36.TransactionGraph,
581+ ProjectM36.TransactionGraph.Persist,
582+ ProjectM36.TransactionGraph.Merge,
583+ ProjectM36.Tuple,
584+ ProjectM36.TupleSet,
585+ ProjectM36.TypeConstructor,
586+ ProjectM36.TypeConstructorDef
587+ if os(windows)
588+ Build-Depends: Win32 >= 2.3 && < 2.4
589+ Other-Modules: ProjectM36.Win32Handle
590+ else
591+ C-sources: ProjectM36/DirectoryFsync.c
592+ Build-Depends: unix
593+
594+Test-Suite test-scripts
595+ Default-Language: Haskell2010
596+ type: exitcode-stdio-1.0
597+ main-is: test/scripts.hs
598+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t
599+ Other-Modules: ProjectM36.Atom, ProjectM36.AtomFunction, ProjectM36.AtomType, ProjectM36.Attribute, ProjectM36.AttributeNames, ProjectM36.Base, ProjectM36.ConcreteTypeRep, ProjectM36.DataConstructorDef, ProjectM36.DataTypes.Primitive, ProjectM36.Error, ProjectM36.Key, ProjectM36.MiscUtils, ProjectM36.Relation, ProjectM36.RelationalExpression, ProjectM36.StaticOptimizer, ProjectM36.Tuple, ProjectM36.TupleSet, ProjectM36.TypeConstructor, ProjectM36.TypeConstructorDef, TutorialD.Interpreter.Base, TutorialD.Interpreter.DatabaseContextExpr, TutorialD.Interpreter.Import.Base, TutorialD.Interpreter.Import.TutorialD, TutorialD.Interpreter.RelationalExpr, TutorialD.Interpreter.Types
600+ GHC-Options: -Wall
601+ CPP-Options: -DPROJECTM36_VERSION="v0.1"
602+ if os(windows)
603+ Build-Depends: Win32 >= 2.3 && < 2.4
604+ Other-Modules: ProjectM36.Win32Handle
605+ else
606+ C-sources: ProjectM36/DirectoryFsync.c
607+ Build-Depends: unix
608+
296609Executable project-m36-websocket-server
297610 Default-Language: Haskell2010
298− Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, persistent, aeson, path-pieces, either, conduit, http-api-data, template-haskell, persistent-template, websockets
611+ Build-Depends: base, HUnit, Cabal, containers, hashable, unordered-containers, mtl, vector, vector-binary-instances, time, hashable-time, bytestring, network-transport-tcp, distributed-process, distributed-process-extras, distributed-process-client-server, uuid, stm, deepseq, deepseq-generics, binary, unix, parallel, cassava, attoparsec, gnuplot, directory, temporary, haskeline, parsec, text, base64-bytestring, data-interval, filepath, transformers, stm-containers, list-t, persistent, aeson, path-pieces, either, conduit, http-api-data, template-haskell, persistent-template, websockets, aeson
299612 Main-Is: ProjectM36/Server/WebSocket.hs
300613 GHC-Options: -Wall
301− C-sources: ProjectM36/DirectoryFsync.c
614+ if os(windows)
615+ Build-Depends: Win32 >= 2.3 && < 2.4
616+ Other-Modules: ProjectM36.Win32Handle
617+ else
618+ C-sources: ProjectM36/DirectoryFsync.c
619+ Build-Depends: unix
620+