Re: ocaml type incompatble error message

Philippe Veber <[email protected]>
Newsgroups gmane.comp.lang.ocaml.beginners
Message-ID <CAOOOohRr=n7dycO0sL=ZP86PTeAtwOvdqif=CL8hfPWmXAOYxg@mail.gmail.com>
If you're using emacs, tuareg (maybe +merlin) should highlight your source
code to show the expression at fault. What editor do you use?
ph.


2014/1/22 Komtanoo Pinpimai <[email protected]>

> when I see:
>
> Error: This expression has type XXX
>        but an expression was expected of type YYY
>
>
> is it possible to display that "an expression" along with the error
> message? because sometimes it's not so obvious to figure out.
>
> --
> In accordance with U.S. Treasury regulations, if this message contains
> advice concerning one or more Federal tax issues, it is not a formal
> legal opinion and may not be used by any person for the avoidance of
> Federal tax penalties.
>
>
> ------------------------------------
>
> Archives up to December 31, 2011 are also downloadable at
> http://www.connettivo.net/cntprojects/ocaml_beginners
> The archives of the very official ocaml list (the seniors' one) can be
> found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames
> etc.Yahoo Groups Links
>
>
>
>
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.