[m-dev.] diff: update NEWS file for MLDS trailing, etc.
Simon Taylor
stayl at cs.mu.OZ.AU
Tue Dec 19 03:11:21 AEDT 2000
> Index: extras/dynamic_linking/dl_test.m
> ===================================================================
> + { MaybeAdd3 = ok(Add3Func0) },
> + %
> + % Cast the higher-order term that we obtained
> + % to the correct higher-order inst.
> + %
> + { wrapper(Add3Func) =
> + inst_cast_add3(wrapper(Add3Func0)) },
> + %%% { CastWrapper = inst_cast_add3(wrapper(Add3Func0)) },
> + %%% { CastWrapper = wrapper(Add3Func) },
> + %
> + % Call the procedure whose address
> + % we just obtained.
> + %
> + { Sum = Add3Func(1.0, 2.0, 3.0) },
> + io__format("1.0 + 2.0 + 3.0 = %f\n", [f(Sum)])
Remove the commented out unifications here.
Otherwise, that change looks fine.
Simon.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list