[m-rev.] diff: typo in array.unsafe_init
Peter Wang
novalazy at gmail.com
Fri Jun 10 18:10:42 AEST 2011
Branches: main
library/array.m:
Fix syntax error in Erlang foreign proc for unsafe_init.
diff --git a/library/array.m b/library/array.m
index 7c58030..ae95707 100644
--- a/library/array.m
+++ b/library/array.m
@@ -1190,7 +1190,7 @@ array.generate(Size, GenFunc) = Array :-
unsafe_init(Size::in, FirstElem::in, _IndexToSet::in) = (Array::array_uo),
[promise_pure, will_not_call_mercury, thread_safe],
"
- Array = erlang.make_tuple(Size, FirstElem)
+ Array = erlang:make_tuple(Size, FirstElem)
").
:- func generate_2(int::in, int::in, (func(int) = T)::in, array(T)::array_di)
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list