caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Tews <tews@os.inf.tu-dresden.de>
To: caml-list@inria.fr
Subject: [Caml-list] #install_printer gives error in 4.0X
Date: Thu, 19 Jul 2012 14:53:17 +0200	[thread overview]
Message-ID: <20488.829.946358.211872@blau.inf.tu-dresden.de> (raw)

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?

Bye,

Hendrik

             reply	other threads:[~2012-07-19 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 12:53 Hendrik Tews [this message]
2012-07-19 16:10 ` AW: " Gerd Stolpmann
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=20488.829.946358.211872@blau.inf.tu-dresden.de \
    --to=tews@os.inf.tu-dresden.de \
    --cc=caml-list@inria.fr \
    /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).