caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Leonid Rozenberg <leonidr@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Learning about compiler-libs
Date: Fri, 7 Aug 2015 18:25:12 -0400	[thread overview]
Message-ID: <CACR9qb_D2Oy9MQLO84BKePmxRzV6-+Yq1DJ5RwKPa2-WgeL1bA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

Are there any resources besides the couple of blog posts and reading the
source?

I found this surprising:

        OCaml version 4.02.1

# #use "topfind" ;;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #require "compiler-libs.toplevel" ;;
/Users/leonidrozenberg/.opam/4.02.1/lib/ocaml/compiler-libs: added to
search path
/Users/leonidrozenberg/.opam/4.02.1/lib/ocaml/compiler-libs/ocamlcommon.cma:
loaded
/Users/leonidrozenberg/.opam/4.02.1/lib/ocaml/compiler-libs/ocamlbytecomp.cma:
loaded
/Users/leonidrozenberg/.opam/4.02.1/lib/ocaml/compiler-libs/ocamltoplevel.cma:
loaded
# let a x = x + 1 ;;
>> Fatal error: a unbound at toplevel
Fatal error: exception Misc.Fatal_error

[-- Attachment #2: Type: text/html, Size: 1389 bytes --]

             reply	other threads:[~2015-08-07 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 22:25 Leonid Rozenberg [this message]
2015-08-07 22:46 ` Gabriel Scherer

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=CACR9qb_D2Oy9MQLO84BKePmxRzV6-+Yq1DJ5RwKPa2-WgeL1bA@mail.gmail.com \
    --to=leonidr@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;
as well as URLs for NNTP newsgroup(s).