[m-rev.] Re: tr_array

Jakob Puchinger jakobp at csse.unimelb.edu.au
Thu Jun 7 12:09:10 AEST 2007


Hi Julien,

when I try to compile  this module I get a lot of those errors:

Cheers,
Jakob

Mercury/ints/tr_array.int:007: In mode declarations for predicate
Mercury/ints/tr_array.int:007:   `tr_array.bounds'/3:
Mercury/ints/tr_array.int:007:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:007:   Modes `bounds(in, out, out) is det' and
Mercury/ints/tr_array.int:007:   `bounds((array.array_mui), out, out) is det'
Mercury/ints/tr_array.int:007:   are indistinguishable.
Mercury/ints/tr_array.int:008:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:010: In mode declarations for predicate
Mercury/ints/tr_array.int:010:   `tr_array.bsearch'/4:
Mercury/ints/tr_array.int:010:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:010:   Modes
Mercury/ints/tr_array.int:010:   `bsearch(in, in, (pred(in, in, out)
is det), out) is det'
Mercury/ints/tr_array.int:010:   and
Mercury/ints/tr_array.int:010:   `bsearch((array.array_mui), in,
(pred(in, in, out) is det), out) is det'
Mercury/ints/tr_array.int:010:   are indistinguishable.
Mercury/ints/tr_array.int:011:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:013: In mode declarations for predicate
Mercury/ints/tr_array.int:013:   `tr_array.copy'/2:
Mercury/ints/tr_array.int:013:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:013:   Modes `copy(in, (array.array_uo)) is det' and
Mercury/ints/tr_array.int:013:   `copy((array.array_mui),
(array.array_uo)) is det'
Mercury/ints/tr_array.int:013:   are indistinguishable.
Mercury/ints/tr_array.int:014:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:016: In mode declarations for predicate
Mercury/ints/tr_array.int:016:   `tr_array.fetch_items'/4:
Mercury/ints/tr_array.int:016:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:016:   Modes `fetch_items(in, in, in, out) is det'
Mercury/ints/tr_array.int:016:   and
Mercury/ints/tr_array.int:016:   `fetch_items((array.array_mui), in,
in, out) is det'
Mercury/ints/tr_array.int:016:   are indistinguishable.
Mercury/ints/tr_array.int:017:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:019: In mode declarations for predicate
Mercury/ints/tr_array.int:019:   `tr_array.in_bounds'/2:
Mercury/ints/tr_array.int:019:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:019:   Modes `in_bounds(in, in) is semidet' and
Mercury/ints/tr_array.int:019:   `in_bounds((array.array_mui), in) is semidet'
Mercury/ints/tr_array.int:019:   are indistinguishable.
Mercury/ints/tr_array.int:020:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:022: In mode declarations for predicate
Mercury/ints/tr_array.int:022:   `tr_array.lookup'/3:
Mercury/ints/tr_array.int:022:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:022:   Modes `lookup(in, in, out) is det' and
Mercury/ints/tr_array.int:022:   `lookup((array.array_mui), in, out) is det'
Mercury/ints/tr_array.int:022:   are indistinguishable.
Mercury/ints/tr_array.int:023:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:025: In mode declarations for predicate
Mercury/ints/tr_array.int:025:   `tr_array.max'/2:
Mercury/ints/tr_array.int:025:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:025:   Modes `max(in, out) is det' and
Mercury/ints/tr_array.int:025:   `max((array.array_mui), out) is det' are
Mercury/ints/tr_array.int:025:   indistinguishable.
Mercury/ints/tr_array.int:026:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:028: In mode declarations for predicate
Mercury/ints/tr_array.int:028:   `tr_array.min'/2:
Mercury/ints/tr_array.int:028:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:028:   Modes `min(in, out) is det' and
Mercury/ints/tr_array.int:028:   `min((array.array_mui), out) is det' are
Mercury/ints/tr_array.int:028:   indistinguishable.
Mercury/ints/tr_array.int:029:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:031: In mode declarations for predicate
Mercury/ints/tr_array.int:031:   `tr_array.resize'/4:
Mercury/ints/tr_array.int:031:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:031:   Modes
Mercury/ints/tr_array.int:031:   `resize(in, in, in, (array.array_uo)) is det'
Mercury/ints/tr_array.int:031:   and
Mercury/ints/tr_array.int:031:   `resize((array.array_mui), in, in,
(array.array_uo)) is det'
Mercury/ints/tr_array.int:031:   are indistinguishable.
Mercury/ints/tr_array.int:032:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:034: In mode declarations for predicate
Mercury/ints/tr_array.int:034:   `tr_array.semidet_lookup'/3:
Mercury/ints/tr_array.int:034:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:034:   Modes `semidet_lookup(in, in, out) is semidet'
Mercury/ints/tr_array.int:034:   and
Mercury/ints/tr_array.int:034:   `semidet_lookup((array.array_mui),
in, out) is semidet'
Mercury/ints/tr_array.int:034:   are indistinguishable.
Mercury/ints/tr_array.int:035:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:039: In mode declarations for predicate
Mercury/ints/tr_array.int:039:   `tr_array.semidet_slow_set'/4:
Mercury/ints/tr_array.int:039:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:039:   Modes
Mercury/ints/tr_array.int:039:   `semidet_slow_set(in, in, in,
(array.array_uo)) is semidet'
Mercury/ints/tr_array.int:039:   and
Mercury/ints/tr_array.int:039:   `semidet_slow_set((array.array_mui),
in, in, (array.array_uo)) is semidet'
Mercury/ints/tr_array.int:039:   are indistinguishable.
Mercury/ints/tr_array.int:040:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:044: In mode declarations for predicate
Mercury/ints/tr_array.int:044:   `tr_array.shrink'/3:
Mercury/ints/tr_array.int:044:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:044:   Modes
Mercury/ints/tr_array.int:044:   `shrink(in, in, (array.array_uo)) is det' and
Mercury/ints/tr_array.int:044:   `shrink((array.array_mui), in,
(array.array_uo)) is det'
Mercury/ints/tr_array.int:044:   are indistinguishable.
Mercury/ints/tr_array.int:045:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:047: In mode declarations for predicate
Mercury/ints/tr_array.int:047:   `tr_array.size'/2:
Mercury/ints/tr_array.int:047:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:047:   Modes `size(in, out) is det' and
Mercury/ints/tr_array.int:047:   `size((array.array_mui), out) is det' are
Mercury/ints/tr_array.int:047:   indistinguishable.
Mercury/ints/tr_array.int:048:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:050: In mode declarations for predicate
Mercury/ints/tr_array.int:050:   `tr_array.slow_set'/4:
Mercury/ints/tr_array.int:050:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:050:   Modes
Mercury/ints/tr_array.int:050:   `slow_set(in, in, in, (array.array_uo)) is det'
Mercury/ints/tr_array.int:050:   and
Mercury/ints/tr_array.int:050:   `slow_set((array.array_mui), in, in,
(array.array_uo)) is det'
Mercury/ints/tr_array.int:050:   are indistinguishable.
Mercury/ints/tr_array.int:051:   Here is the conflicting mode declaration.
Mercury/ints/tr_array.int:053: In mode declarations for predicate
Mercury/ints/tr_array.int:053:   `tr_array.to_list'/2:
Mercury/ints/tr_array.int:053:   error: duplicate mode declaration.
Mercury/ints/tr_array.int:053:   Modes `to_list(in, out) is det' and
Mercury/ints/tr_array.int:053:   `to_list((array.array_mui), out) is det' are
Mercury/ints/tr_array.int:053:   indistinguishable.
Mercury/ints/tr_array.int:054:   Here is the conflicting mode declaration.
** Error making
`Mercury/asm_fast.gc.tr.debug/x86_64-unknown-linux-gnu/Mercury/cs/colgen_dw.c'.


On 6/6/07, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>
>
> Please ignore this, I meant to send it to Jakob.
>
> 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
> --------------------------------------------------------------------------
>
--------------------------------------------------------------------------
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