mfichman / jogo

High(er) performance compiled programming language with clean, powerful syntax
MIT License
6 stars 1 forks source link

Keyword arguments #70

Open mfichman opened 11 years ago

mfichman commented 11 years ago

Example:

foo(arg Int, bar String) {
}

foo(arg:1, bar:"hello")

Either ":" or "=" could be used for the keyword arg, but "=" is ambiguous with variable assignments.