Yep, thanks! I was a bit hasty. On Sunday, May 25, 2014, Ismael VC <[email protected]> wrote:
> It should be:
>
> type Person
> lastname::String
> firstname::String
> end
>
> fullname(p::Person) = "$(p.firstname) $(p.lastname)"
>
> jan = Person("Janssen", "Jan")
>
> println(fullname(jan))
>
>
>
