[m-rev.] For review: ensure proper initialisation of pretty_printer
Peter Wang
novalazy at gmail.com
Tue Apr 27 13:33:37 AEST 2010
On 27 April 2010 13:27, Ralph Becket <rafe at csse.unimelb.edu.au> wrote:
> Peter Wang, Tuesday, 27 April 2010:
>> get_pretty_printer_is_initialised() ->
>> 'ML_erlang_global_server' ! {get_mutable, t__mutable_variable_foo, self()},
>> receive
>> {get_mutable_ack, undefined} -> {no};
>> {get_mutable_ack, Value} -> Value
>> end.
>
> Why is the 'no' in braces?
That's the representation of bool.no (a 1-tuple with an atom).
The native Erlang false value is `false'.
Peter
--------------------------------------------------------------------------
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