From: "Matej Košík" <mail@matej-kosik.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] a question about Ocaml toplevel behavior
Date: Sun, 11 Mar 2018 14:30:22 +0100 [thread overview]
Message-ID: <97fc418b-c016-7a7f-77ae-3823bf4b8a12@matej-kosik.net> (raw)
In-Reply-To: <ed108bf8-ee82-aa94-489b-b749140269c5@matej-kosik.net>
Here is ta simplified version of the original question:
If I do:
#use "topfind";;
#require "compiler-libs.common";;
Parse.implementation (Lexing.from_string "foo");;
What I see is this:
- : Parsetree.structure =
[{Parsetree.pstr_desc =
Parsetree.Pstr_eval
({Parsetree.pexp_desc = Parsetree.Pexp_ident <abstr>; pexp_loc = <abstr>;
pexp_attributes = []},
[]);
pstr_loc = <abstr>}]
What confuses me is the presence of "<abstr>" stuff.
Why are they there?
Why don't I see the actual Ocaml terms (which do not belong to abstract types)?
next prev parent reply other threads:[~2018-03-11 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-10 17:55 Matej Košík
2018-03-11 13:30 ` Matej Košík [this message]
2018-03-11 15:06 ` Nicolás Ojeda Bär
2018-03-11 15:51 ` Matej Košík
2018-03-11 19:17 ` Nicolás Ojeda Bär
2018-03-12 8:44 ` Matej Košík
2018-03-12 8:50 ` Jacques Garrigue
2018-03-12 9:09 ` Matej Košík
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=97fc418b-c016-7a7f-77ae-3823bf4b8a12@matej-kosik.net \
--to=mail@matej-kosik.net \
--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