[mercury-users] 'Char' type problem
Erwan Jahier
jahier at irisa.fr
Tue Mar 17 23:17:27 AEDT 1998
Peter Phelan wrote:
>
> Hello all
>
> I'm trying to get started in Mercury, with a view to porting
> substantial amounts of Prolog code.
>
> I have a very simple program, which produces the following
> error under mmc --
> error: undefined type char/1.
>
> I understood that char was a built in recognised type.
> Clealry I've done something wrong.
Yes: char/0 is a built-in type, not char/1.
--
R1.
More information about the users
mailing list