On Tue, Nov 16, 2010 at 7:19 PM, Filipe David Manana
<[email protected]> wrote:
> On Tue, Nov 16, 2010 at 6:16 PM, Benoit Chesneau <[email protected]> wrote:
>> On Tue, Nov 16, 2010 at 7:04 PM, Filipe David Manana
>> <[email protected]> wrote:
>>> what did you meant?
>>>
>>> On Tue, Nov 16, 2010 at 5:58 PM, Benoit Chesneau <[email protected]>
>>> wrote:
>>>> On Tue, Nov 16, 2010 at 6:01 PM, <[email protected]> wrote:
>>>>
>>>>> filter_docids(_, _) ->
>>>>> - throw({bad_request, "`doc_ids` member is undefined or not a
>>>>> - list."}).
>>>>> + throw({bad_request, "`doc_ids` member must be defined as a list"}).
>>>>
>>>> result is the same, but that's definitely not what I meant.
>>>>
>> that's the member was undefined or not a list. I you say that's the
>> member must be defined as a list, you are less descriptive.
>>
>
> If it's not defined than it's definitely not a list. Does it make sense?
I didn't say that your sentence didn't have sense. But I meant to be
more descriptive. Afterall that's the reason you want to use ===
rather than == in js.