summaryrefslogtreecommitdiff
path: root/libstd/bigint.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/bigint.myr
parent73d297264fae92c1e716f05e5f42496fad95dd37 (diff)
downloadmc-e002242442a548429f014ec3a5c30f1d40799a7a.tar.gz
Change syntax for tuples.
Diffstat (limited to 'libstd/bigint.myr')
-rw-r--r--libstd/bigint.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstd/bigint.myr b/libstd/bigint.myr
index ab7cb8c..813e4ce 100644
--- a/libstd/bigint.myr
+++ b/libstd/bigint.myr
@@ -37,7 +37,7 @@ pkg std =
const bigmul : (a : bigint#, b : bigint# -> bigint#)
const bigdiv : (a : bigint#, b : bigint# -> bigint#)
const bigmod : (a : bigint#, b : bigint# -> bigint#)
- const bigdivmod : (a : bigint#, b : bigint# -> [bigint#, bigint#])
+ const bigdivmod : (a : bigint#, b : bigint# -> (bigint#, bigint#))
const bigshl : (a : bigint#, b : bigint# -> bigint#)
const bigshr : (a : bigint#, b : bigint# -> bigint#)
@@ -352,7 +352,7 @@ const bigmod = {a : bigint#, b : bigint# -> bigint#
}
/* a /= b */
-const bigdivmod = {a : bigint#, b : bigint# -> [bigint#, bigint#]
+const bigdivmod = {a : bigint#, b : bigint# -> (bigint#, bigint#)
/*
Implements bigint division using Algorithm D from
Knuth: Seminumerical algorithms, Section 4.3.1.