From: Philippe Veber <philippe.veber@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] Strange camlp4 issue
Date: Mon, 1 Oct 2012 18:21:48 +0200 [thread overview]
Message-ID: <CAOOOohSsXgVk8YZOk4QkxNw4H9cBvM+enSkPYOdjB==Yrykwrg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
Dear camlp4ers,
A syntax extension of my own fails or succeeds on a given file depending on
the output :
[gesundheit:~/fitdistrplus 18:11]$camlp4o ~/.opam/3.12.1/lib/R/R_syntax.cma
src/fitdistrplus.ml
open Batteries
open Rbase
[...]
method scale =
List.nth
(R.floats_of_t
(let a7818b19c = r in
let _ () =
let _ = (a7818b19c#compound : Rbase.compound 'abdf89974)
in
fun (ab922d605 : 'abdf89974) ->
(ab922d605#estimate : 'a8ec34edb)
in (a7818b19c#component "estimate" : 'a8ec34edb)))
1
method location_sd = assert false
method scale_sd = assert false
method fitdistcens = fitdistcens
end
end
[gesundheit:~/fitdistrplus 18:11]$camlp4o ~/.opam/3.12.1/lib/R/R_syntax.cma
src/fitdistrplus.ml > rien.ml
File "src/fitdistrplus.ml", line 157, characters 47-48:
Failure: "invalid type"
I observe this behaviour with versions 3.12.1 and 4.00.0
Does it ring a bell to someone?
Cheers,
Philippe.
[-- Attachment #2: Type: text/html, Size: 4173 bytes --]
next reply other threads:[~2012-10-01 16:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 16:21 Philippe Veber [this message]
2012-10-01 22:39 ` Jeremy Yallop
2012-10-01 22:45 ` Anil Madhavapeddy
2012-10-02 7:21 ` Philippe Veber
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='CAOOOohSsXgVk8YZOk4QkxNw4H9cBvM+enSkPYOdjB==Yrykwrg@mail.gmail.com' \
--to=philippe.veber@gmail.com \
--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