Take the 2-minute tour ×
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It's 100% free, no registration required.

I found the following sentence while reading technical documentation but the use of "to which" doesn't seem right, which expression would you use here ?

Returns a list of lists where the elements to which function is true are grouped together.

share|improve this question

closed as too localized by jwpat7, JSBձոգչ, MετάEd, Andrew Leach, tchrist Aug 30 '12 at 0:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
The function declaration may help clarify this. It would almost make sense as "Returns a list of lists where the elements for which the function is true are grouped together." But I still don't know what the lists of elements are, and what the function is. –  Tolerance72 Jul 11 '12 at 19:37
add comment

2 Answers

up vote 5 down vote accepted

You're right: it doesn't make sense. In fact, without knowing the context, I'm not comfortable guessing at the actual meaning.

But the most straightforward way I see here is: replace to with for, and function needs an article, presumably the:

Returns a list of lists where the elements for which the function is true are grouped together.

So the command returns a list, which consists of lists of grouped elements for each of which the function (whatever it is) returns true. I hope I got the original intent right.

share|improve this answer
add comment

It seems correct to me. You could also write it like this:

Returns a list of lists where the elements which function is to true are grouped together.

share|improve this answer
2  
Could you elaborate? Neither the original sentence nor your variation make sense to me. –  Tolerance72 Jul 11 '12 at 19:37
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.