Browse thread
FW: [Caml-list] newbie questions
- Collin Monahan
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Collin Monahan <cmonahan@f...> |
| Subject: | FW: [Caml-list] newbie questions |
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