Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 320af0475e
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.442 kB
@public
present = fn (Self)
io.format("Hi!, I'm ~s ~s, my email is ~s~n",
[Self.firstname, Self.lastname, Self.email])
@public
new = fn (Firstname, Lastname, Email)
New = {
firstname: Firstname,
lastname: Lastname,
email: Email,
show: fn struct.print:1,
present: fn present:1}
New
@public
run = fn ()
P = new("mariano", "guerra", "foo@bar.com")
P.show()
P.present()
Jump to Line
Something went wrong with that request. Please try again.