caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Hendrik Tews <tews@os.inf.tu-dresden.de>
Cc: caml-list@inria.fr
Subject: AW: [Caml-list] #install_printer gives error in 4.0X
Date: Thu, 19 Jul 2012 18:10:04 +0200	[thread overview]
Message-ID: <1342714204.2236.8@samsung> (raw)
In-Reply-To: <20488.829.946358.211872@blau.inf.tu-dresden.de> (from tews@os.inf.tu-dresden.de on Thu Jul 19 14:53:17 2012)

Am 19.07.2012 14:53:17 schrieb(en) Hendrik Tews:
> Hi,
> 
> #install_printer does not work for me anymore in the trunk
> version of OCaml and in the 4.00 branch. When I try
> 
>     type t = A;;
>     let t_printer ff (t : t) = Format.fprintf ff "XaX";;
>     #install_printer t_printer;;
> 
> I get
> 
>     Cannot find type Topdirs.printer_type_new.
> 
> Is this a bug or am I doing something wrong? If this is a bug,
> does anybody know a workaround?

#directory "+compiler-libs";;

Looks like a bug.

Gerd

> 
> Bye,
> 
> Hendrik
> 
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> 
> 



-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------

  reply	other threads:[~2012-07-19 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 12:53 Hendrik Tews
2012-07-19 16:10 ` Gerd Stolpmann [this message]
2012-07-19 16:19 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342714204.2236.8@samsung \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=tews@os.inf.tu-dresden.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).