on master help sign in
Merge branch 'master' of https://github.com/agentm/project-m36
commitc7a5965e6ccc924c25e981d30442c3906989ba2e authorAgentM <agentm@themactionfaction.com> dateMon 28 Aug 2017, 15:56 (9 years ago) parentcf9eaf01c8c3aa
1 file changed+4−4
docs/tupleable.markdown+4−4
docs/tupleable.markdown+4−4
@@ -28,13 +28,13 @@ Now, ```Person``` values can be marshaled between the database and the client. T
2828The ```Tupleable``` module includes the following functions:
2929
3030 * ```toInsertExpr :: (Tupleable a, Traversable t) => t a -> RelVarName -> Either RelationalError DatabaseContextExpr```
31− * creates an ```Insert``` expression which can be used to insert a set of ```Tupleable``` values into the relation variable named by the ```RelVarName```
31+ * creates an ```Insert``` expression which can be used to insert a set of ```Tupleable``` values into the relation variable named by the ```RelVarName```
3232 * ```toAttributes :: a -> Attributes```
33− * generates ```Attributes``` from a ```Tupleable``` value- can be used with ```undefined```, so an actual value is not necessary
33+ * generates ```Attributes``` from a ```Tupleable``` value- can be used with ```undefined```, so an actual value is not necessary
3434 * ```toTuple :: a -> RelationTuple```
35− * converts a ```Tupleable``` value to a tuple for use in queries
35+ * converts a ```Tupleable``` value to a tuple for use in queries
3636 * ```fromTuple :: RelationTuple -> Either RelationalError a```
37− * converts a tuple to ```Tupleable``` value, unless there is an error such as a missing attribute
37+ * converts a tuple to ```Tupleable``` value, unless there is an error such as a missing attribute
3838
3939For example usage, see the [Out of the Tarpit example](/examples/out_of_the_tarpit.hs).
4040