caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
Cc: "OCaml List" <caml-list@inria.fr>
Subject: Re: GenerateFold
Date: Thu, 31 May 2007 18:41:54 +0100	[thread overview]
Message-ID: <40A0EB7D-8FE8-4547-989E-4779C4658F90@gmail.com> (raw)
In-Reply-To: <cd67f63a0705310829k17e9a4eej3cc15fcd66f08b15@mail.gmail.com>

Nicolas,

On May 31, 2007, at 4:29 PM, Nicolas Pouillard wrote:

> You must use the object itself that is threaded through the traversal
> (or use an exception in that simple case).

How can I troubleshoot this resulting error?

+ ocamlfind ocamlc -package 'oUnit, dyp, extlib' -c -I +camlp4 -g -w  
a -pp 'camlp4of -I src -filter map -filter fold -filter trash ' -I  
src -o src/easy_type_check.cmo src/easy_type_check.ml
File "ghost-location", line 1, characters 0-0:
This expression has type
   < _Lexing_position : Lexing.position -> 'a;
     array : 'b. ('a -> 'b -> 'a) -> 'b array -> 'a;
     array_decl : Easy_ast.array_decl -> 'a;
     bar_prop : Easy_ast.bar_prop -> 'a; bars_ago : Easy_ast.bars_ago  
-> 'a;
     bool : bool -> 'a; color : Easy_ast.color -> 'a;
     cond : Easy_ast.cond -> 'a; direction : Easy_ast.direction -> 'a;
     exec_method : Easy_ast.exec_method -> 'a; expr : Easy_ast.price - 
 > 'a;
     float : float -> 'a; id : Easy_ast.id -> 'a;
     input_decl : Easy_ast.input_decl -> 'a;
     instrument : Easy_ast.instrument -> 'a; int : int -> 'a;
     list : 'c. ('a -> 'c -> 'a) -> 'c list -> 'a;
     option : 'd. ('a -> 'd -> 'a) -> 'd option -> 'a;
     order : Easy_ast.order -> 'a; order_type : Easy_ast.order_type - 
 > 'a;
     pos : Easy_ast.pos -> 'a; price : Easy_ast.price -> 'a;
     program : Easy_ast.program -> 'a;
     ref : 'e. ('a -> 'e -> 'a) -> 'e ref -> 'a;
     shares : Easy_ast.shares -> 'a; statement : Easy_ast.statement - 
 > 'a;
     string : string -> 'a; style : Easy_ast.style -> 'a;
     subscript : Easy_ast.subscript -> 'a; ty : Easy_ast.ty -> 'a;
     var_decl : Easy_ast.var_decl -> 'a; .. >
   as 'a
but is here used with type Easy_ast.order_type
Command exited with code 2.

--
http://topdog.cc      - EasyLanguage to C# translator
http://wagerlabs.com  - Blog






  reply	other threads:[~2007-05-31 17:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 12:18 GenerateFold Joel Reymont
2007-05-31 15:29 ` GenerateFold Nicolas Pouillard
2007-05-31 17:41   ` Joel Reymont [this message]
2007-05-31 18:58   ` GenerateFold Joel Reymont
2007-05-31 22:05     ` GenerateFold Nicolas Pouillard
2007-05-31 22:16       ` GenerateFold Joel Reymont
2007-05-31 22:34       ` GenerateFold Joel Reymont
2007-06-01  6:08         ` [Caml-list] GenerateFold Edgar Friendly
2007-06-01 13:22           ` Joel Reymont
2007-06-01 13:30             ` Nicolas Pouillard
2007-06-01 13:44               ` Joel Reymont
2007-06-01 16:07                 ` Nicolas Pouillard
2007-06-05 12:25                   ` Nicolas Pouillard

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=40A0EB7D-8FE8-4547-989E-4779C4658F90@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.pouillard@gmail.com \
    /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).