Re: [m-users.] Confused my det/multi error message, full disjunction of type in place.

"Zoltan Somogyi" <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>

On Sun, 4 Dec 2022 12:02:58 +0000, "Sean Charles (emacstheviking)" <[email protected]> wrote:
> >>      65 write_(!S, brace_o, !IO) :-
> >>      66     write_(!S, s("{"), !IO),
> >>      67     !:S = !.S ^tab_size := !.S ^tab_size+1.
> >                                                    ^^^
> >>      68     write_(!S, nl, !IO).
> > 
> > Presuambly, the period marked above is actually supposed to be a comma.
> > (Because it's a period, you have two clauses that match nl.)
> 
> Why would it be a comma? I just don't understand, "!,S" ??? That's a syntax error surely?

The email system mangles indentation. Julien was not pointing
to the period in !.S, but to the period at the END of the line.

Zoltan.


_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.