hi,
how would i describe the following relationship in a spec?
there are 2 components, A and B, where A is a function and B is an object.
the relationship between them is that calling component A returns another function A1, which when called returns B.
so, essentially, A is a factory function that produces another factory function A1, which produces instances of B.
hope that makes sense.
thanks in advance!
julian