Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] ML top level not working for me

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] ML top level not working for me


chronological Thread 
  • From: Beta Ziliani <beta AT mpi-sws.org>
  • To: Beta Ziliani <beta AT mpi-sws.org>, Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] ML top level not working for me
  • Date: Wed, 28 Dec 2011 12:11:16 +0100

On Wed, Dec 28, 2011 at 12:00 PM, Hugo Herbelin 
<Hugo.Herbelin AT inria.fr>
 wrote:
> Hi Beta,
>
>
> Function "go()" is provided in the file "include" from the directory
> dev of the source archive. So you'd better do that first
>
>  #use"include";;
>
> Alternatively, you can have this be done automatically by adding a
> file .ocamlinit in your home directory with the following content
> (trick shown to me by Pierre Letouzey):
>
>  if Filename.basename Sys.argv.(0) = "coqtop.byte"
>  then ignore (Toploop.use_silently Format.std_formatter "include")
>
> See file dev/doc/debugging.txt from the source archive for more
> information on using the ocaml toplevel.
>
> Hugo
>

Thanks Hugo, but I forgot to mention something important:

# #use "include";;
Cannot find file include.

It's like if it's not taking COQTOP into account, although it is well set:

$ ls $COQTOP
CHANGES        CREDITS      INSTALL.ide     Makefile         ...




Archive powered by MhonArc 2.6.16.

Top of Page