]> ocean-lang.org Git - ocean/commit
oceani: support functions returning multiple values.
authorNeilBrown <neil@brown.name>
Sat, 20 Nov 2021 00:54:49 +0000 (11:54 +1100)
committerNeilBrown <neil@brown.name>
Tue, 23 Nov 2021 22:30:54 +0000 (09:30 +1100)
commit50d5f6884a6c99e771b4907a03062955e7edbab5
treebaf055b1a82809e3df53d9d246a9b3908fc71d06
parent0897423423ea2704abdfd35dc58065d12d9f7386
oceani: support functions returning multiple values.

A function can now return a list of parameters.
These can be assigned to a variable which acts as a struct
containing all those parameters.

There is some HACKy code in here that will need to be sorted later.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani-tests.mdc
csrc/oceani.mdc