I do not understand why you want to put a default value for languages
where you cannot know it.
>>>
>>>> (...
>>>> absent = default value
>>>> (attr ) = default value
>>>> (attr nil) = nil value
>>>> (attr "..some..") = some value
>>>> ...)
>>>
>>>
>>> ok above defaultValue means nil in Smalltalk?
>>>
>> Default value in smalltalk means what the class puts as default
>> value in
>> "initialize" I guess. This would be the smalltalk variant of what
>> I am
>> currently doing in Python.
>
> Default value for booleans is false and for numbers it is 0, see FM3
> (draft) spec.
>
> Currently FM3 does not allow other default, question is if we really
> need that, as we have no usecase yet. @Lukas, how is it in Magritte?
> Defaults for primitve attributes are straight forward, whereas
> default values for other attributes lead into the whole meta-behavior
> mess...
>
> AA
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev