summaryrefslogtreecommitdiff
path: root/libstd/varargs.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-07-09 21:57:07 -0400
committerOri Bernstein <ori@eigenstate.org>2014-07-09 21:57:07 -0400
commite002242442a548429f014ec3a5c30f1d40799a7a (patch)
tree8b94add5dc476fede0e4345646b23aba8317a263 /libstd/varargs.myr
parent73d297264fae92c1e716f05e5f42496fad95dd37 (diff)
downloadmc-e002242442a548429f014ec3a5c30f1d40799a7a.tar.gz
Change syntax for tuples.
Diffstat (limited to 'libstd/varargs.myr')
-rw-r--r--libstd/varargs.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstd/varargs.myr b/libstd/varargs.myr
index f7b7ffb..bcaac76 100644
--- a/libstd/varargs.myr
+++ b/libstd/varargs.myr
@@ -4,7 +4,7 @@ pkg std =
type valist
const vastart : (args : ...# -> valist)
- generic vanext : (ap : valist -> [@a, valist])
+ generic vanext : (ap : valist -> (@a, valist))
;;
type valist = byte#
@@ -22,7 +22,7 @@ const vastart = {args
-> args castto(valist)
}
-generic vanext = {ap -> [@a, valist]
+generic vanext = {ap -> (@a, valist)
var v : @a
var align
var p