caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Collin Monahan" <cmonahan@fame.com>
To: <caml-list@inria.fr>
Subject: FW: [Caml-list] newbie questions
Date: Wed, 22 Aug 2001 14:29:01 -0400	[thread overview]
Message-ID: <001501c12b38$50c3d9a0$f54258c0@CONSULTING2000P> (raw)


Taking into account Neel Krishnaswami's advice that it would be actually
helpful to mail my questions to the list, I'm sending some.

I hope I don't end up irritating people! 

thanks,
Collin

-----Original Message-----
From: Collin Monahan [mailto:cmonahan@fame.com] 
Sent: Wednesday, August 22, 2001 14¤24
To: 'Felix Terkhorn'
Subject: RE: [Caml-list] newbie questions


Hi,

Thanks!

Well, here's a few things I don't understand right now.

try 
 let chan = open_in "foobar"
with Sys_error ->
 print_string "error opening file\n";;

This doesn't work. I think it might be because the stuff in the first
part doesn't evaluate to the same type as the stuff in the second part.
I also wonder if it might have something to do with how in the
documentation, lots of exceptions are described as, for example
	exception Stack_overflow
but for Sys_error it says
	exception Sys_error of string

Why does it say, when I type into the toplevel,
	Sys_error;;
that the constructor expects an argument?

Collin

-----Original Message-----
From: Felix Terkhorn [mailto:masterkh@indiana.edu] 
Sent: Wednesday, August 22, 2001 14¤09
To: Collin Monahan
Subject: Re: [Caml-list] newbie questions

Howdy,

I can try to answer some of your questions, but I won't guarantee that I
know a terrible amount. ;)  I'm also using linux, so any non-linux
OS-specific stuff I won't be able to answer.

Felix Terkhorn

-- 
'(felix-terkhorn . masterkh@indiana.edu)

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2001-08-22 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-22 18:29 Collin Monahan [this message]
2001-08-24  6:51 ` Stefano Zacchiroli
2001-08-24  7:31   ` David Mentre
2001-08-24 10:57     ` Stefano Zacchiroli

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='001501c12b38$50c3d9a0$f54258c0@CONSULTING2000P' \
    --to=cmonahan@fame.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).