[m-rev.] diff: typo in array.unsafe_init

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Jun 10 18:19:41 AEST 2011


On Fri, 10 Jun 2011, Peter Wang wrote:

> 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)
> ").

Oops!  Thanks for fixing that.

Cheers,
Julien.
--------------------------------------------------------------------------
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