Be explicit about multiplicity in Array

The bootstrap version can't infer it!
This commit is contained in:
Edwin Brady 2020-06-12 14:18:57 +01:00
parent c3c556f192
commit 84adbe6dc8

View File

@ -68,7 +68,7 @@ copyArray newsize a
= if pos < 0
then (a, a')
else let val # a = mread a pos
a' = case val of
1 a' = case val of
Nothing => a'
Just v => write a' pos v in
copyContent (pos - 1) a a'