Projection issue - lists and function of lists parameters

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; min-height: 15.0px}

Hi,

Basic stuff, but I guess my brain has grown a bit fuzzy lately. I have a function func[parA;parB] that returns a list of dictionaries, as many as parB’s razed lengths. Both parA and parB are lists, with parB itself a function g[parA]. Quick illustration:

parA:(ab)

parB is actually g[parA]: (x1y1; x2y2`z2)

Main “unprocessed” func[parA; g[parA]] should output something like:

a!x1

a!y1

b!x2

b!y2

b!z2

The internal function processing is OK, but less so for calling it(!): 

func[;]’[a; g a] is fine for atom components of parA… but

func[;]’[parA][g’[parA]] yields a length error… What am I doing wrong ?

Issue was solved by moving [g’[parA]] in the main func body.