I am clearly late to this party.

When you say there is no such thing, you probably mean it is not common or
perhaps not idiomatic.

However, there is no technical reason to not being allowed to have a field
of type "Function".
On Mar 9, 2014 12:11 AM, "Isaiah Norton" <isaiah.nor...@gmail.com> wrote:

> There are no restrictions on access to composite type variables.
>
> (in Julia there is no such thing as functions inside a type in the way
> there is in Python or C++. See the Methods section of the manual for more
> information).
>
>
> On Sat, Mar 8, 2014 at 11:56 PM, Freddy Chua <freddy...@gmail.com> wrote:
>
>> Is it possible to create function in composite types with access to the
>> composite type variables?
>>
>
>

Reply via email to