mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
12 lines
220 B
Text
12 lines
220 B
Text
:person = "personne"
|
|
|
|
:$ format(p::is(person))
|
|
p = p!value
|
|
return("Name: {p("name")}\nAge: {p("age")}")
|
|
|
|
:$ Person(name, age)
|
|
return({"name":name, "age":age}!type(person))
|
|
|
|
:abject = Person("Darmanin", 38)
|
|
|
|
|{abject}
|