package sqlite3_utils
Module Sqlite3_utils.TySource
Values representing types to pass to a statement, or to extract from a row
A representation of a type that returns 'res. 'a is typically a function type with the arguments one would expect, for example (int -> string -> 'res, 'res) t would be used for a query that is parametrized by two values of type int and string respectively.
Right-associative chaining. int @> float @> nil represents two arguments of type int and float respectively, and is the same as int @> (float @> nil).
Exactly two arguments of types 'a and 'b respectively.
Right-associative append. This is useful for long lists of types. (p2 int float) @>> (p1 text) is the same as p3 int float text, which is the same as int @> float @> text @> nil.
Empty list of arguments
Make a tuple. Useful in, for example, Ty.( p2 int text, mkp2).