[erlang-questions] What atom name to represent a null value

Nikolas Bowe nbowe@REDACTED
Fri Feb 26 01:55:53 CET 2010


I think its because the default value for record fields is 'undefined'


caio ariede wrote:
> Right.
>
> It is defined in somewhere? Some documentation?
>
> Or just in common sense?
>
> Thanks
>
> Caio Ariede
> http://caioariede.com/
>
>
> On Thu, Feb 25, 2010 at 9:29 PM, Jayson Vantuyl <kagato@REDACTED> wrote:
>
>   
>> undefined is the standard one.  Although I've used none, null, and nil
>> before (in different situations).
>>
>> On Feb 25, 2010, at 4:20 PM, caio ariede wrote:
>>
>>     
>>> I already saw some people using "undef", but I want to know what name is
>>> commonly used (if there is).
>>>
>>> Caio Ariede
>>> http://caioariede.com/
>>>
>>>
>>> On Thu, Feb 25, 2010 at 9:14 PM, David Lloyd <lloy0076@REDACTED>
>>>       
>> wrote:
>>     
>>>> Why couldn't you use "null"?
>>>>
>>>> DSL
>>>>
>>>> -----Original Message-----
>>>> *From*: caio ariede <caio.ariede@REDACTED<
>>>>         
>> caio%20ariede%20%3ccaio.ariede@REDACTED<caio%2520ariede%2520%253ccaio.ariede@REDACTED>
>> %3e>
>>     
>>>> *To*: erlang-questions <erlang-questions@REDACTED<
>>>>         
>> erlang-questions%20%3cerlang-questions@REDACTED<erlang-questions%2520%253cerlang-questions@REDACTED>
>> %3e>
>>     
>>>> *Subject*: [erlang-questions] What atom name to represent a null value
>>>> *Date*: Thu, 25 Feb 2010 21:13:34 -0300
>>>>
>>>> In common sense, what atom name can I use to better represent null
>>>>         
>> values?
>>     
>>>> Thanks.
>>>>
>>>> Caio Ariedehttp://caioariede.com/
>>>>
>>>>
>>>>
>>>>         
>> --
>> Jayson Vantuyl
>> kagato@REDACTED
>>
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>>
>>
>>     
>
>   


This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.



More information about the erlang-questions mailing list