on master help sign in
Fix indentation of usage descriptions
d0fbb52Elliot Cameron
docs/tupleable.markdown+4−4
@@ -28,13 +28,13 @@ Now, ```Person``` values can be marshaled between the database and the client. T
28The ```Tupleable``` module includes the following functions:
28The ```Tupleable``` module includes the following functions:
29
29
30 * ```toInsertExpr :: (Tupleable a, Traversable t) => t a -> RelVarName -> Either RelationalError DatabaseContextExpr```
30 * ```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```
32 * ```toAttributes :: a -> Attributes```
32 * ```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
34 * ```toTuple :: a -> RelationTuple```
34 * ```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
36 * ```fromTuple :: RelationTuple -> Either RelationalError a```
36 * ```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
38
38
39For example usage, see the [Out of the Tarpit example](/examples/out_of_the_tarpit.hs).
39For example usage, see the [Out of the Tarpit example](/examples/out_of_the_tarpit.hs).
40
40