Search the web
Sign In
New User? Sign Up
ocaml_beginners · Ocaml Beginners
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 214 - 243 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
214
Is there a way to get module abbreviations in .mli files? In my .ml files, I frequently do something like this: module Foo = Really_long_verbose_module_name ...
bwv211mail
Offline Send Email
Apr 2, 2002
6:22 am
215
... What about using: open Really_long_verbose_module_name type t = t list So you don't write at all the module name? Regards Gianluca...
giangiammy
Offline Send Email
Apr 2, 2002
7:07 am
216
... Well, I didn't forget it... I'll try to explain In a stream like [< 'element1; element2; element3 = a_parser >], element1 is a real token, preceded by a...
stalkern2
Offline Send Email
Apr 2, 2002
5:24 pm
217
... Let's say that in Rémi's grammar E --> E+E E --> E*E E --> (E) E --> i Now, let's eliminate left recursion. The rule that I know says: given rules of the...
stalkern2
Offline Send Email
Apr 2, 2002
5:24 pm
218
... Because modules may have conflicting type names....
bwv211mail
Offline Send Email
Apr 2, 2002
5:32 pm
219
... well, in fact, the way i write LL parser, i first remove the priority problem: 2+3 * 4 can be see as (2+3) * 4 or 2 + (3*4) by this parser. Arg, there is a...
Remi VANICAT
dl_ens
Offline Send Email
Apr 2, 2002
6:07 pm
220
... http://caml.inria.fr/oreilly-book/...
hardlogic
Offline Send Email
Apr 3, 2002
5:09 am
221
... So, we start with E --> E+E E --> E*E E --> (E) E --> i Now, every expression is analysed as if the elements with the highest priority were the stones that...
stalkern2
Offline Send Email
Apr 3, 2002
10:43 am
222
... MM, yes of course. The fact is that with expression, there is the problem of associativity : E --> A A --> A + A A --> B B --> B * B B --> C C --> (E) C...
Remi VANICAT
dl_ens
Offline Send Email
Apr 3, 2002
11:08 am
223
... level A) to be a stone of a level with higher priority (level T). This means that in 2 + 3 + 4 2 is detected to be a F that is a T (a stone with higher...
stalkern2
Offline Send Email
Apr 3, 2002
11:41 am
224
Hello OCamlers... do you know of any library function that enables me to get a sublist out of a list? Unfortunately I couldn't find any function in the List ...
Christian Schaller
Christian.Schaller@...
Send Email
Apr 4, 2002
6:50 pm
225
... You may make a bug report if you really believe this should be done. ... It's better to stick to caml, it's enough effective for that (and most function of...
Remi VANICAT
dl_ens
Offline Send Email
Apr 4, 2002
7:51 pm
226
Sorry, me again ;-) after playing around some more time with OCaml, I'm wondering how to read from a file in a "good" manner with OCaml. Mostly when reading a...
Christian Schaller
Christian.Schaller@...
Send Email
Apr 4, 2002
8:41 pm
227
... Yes it should... ... Yes. But the way of making the separation may differ. And most often you read a file, parse it and then use the ... An exception is...
Remi VANICAT
dl_ens
Offline Send Email
Apr 4, 2002
9:43 pm
228
... I think so, BUT you're using a list as an Array when you manipulate items according to their ABSOLUTE position. In a "list" the ABSOLUTE position is...
stalkern2
Offline Send Email
Apr 5, 2002
7:12 am
229
... In O'Caml it is relatively simple to control the evaluation order of functional code, so this has lower priority than for other functional languages. I...
Gerd Stolpmann
info@...
Send Email
Apr 5, 2002
3:35 pm
230
... Not so bad :) ... You can have a functionnal version of your function : let rec read_lines func ch = try let line = func (input_line ch) in ...
Warp
ncannasse
Offline Send Email
Apr 5, 2002
7:34 pm
231
Ryan Tarpine, rtarpine@... "To err is human, to compute divine. Trust your computer but not its programmer." - Morris Kingston ...
Ryan Tarpine
rtarpine
Offline Send Email
Apr 6, 2002
4:17 am
232
I am looking at Xavier Leroy's recently released cryptokit as an example of OOP using OCaml. I'm interested in why OOP was chosen for the cryptokit, and...
bwv211mail
Offline Send Email
Apr 9, 2002
2:02 am
233
Trying to build lablgl-0.97, I get: 605 $ make ocamlmktop -I . -I `ocamlc -where`/labltk -o lablgltop -dllpath `ocamlc -where`/labltk -dllpath `ocamlc...
joelisp
Offline Send Email
Apr 10, 2002
10:31 pm
234
... It seem that there is problem with your installation of labltk or tcl/tk. For some unknown reason it doesn't find one of the function of the tcl library :...
Remi VANICAT
dl_ens
Offline Send Email
Apr 11, 2002
12:45 pm
235
The problem was in finding the libraries, which I fixed (it's a FreeBSD-specific problem and is documented in the Makefile.config, so I feel like an idiot). I...
joelisp
Offline Send Email
Apr 11, 2002
4:37 pm
236
I am trying to understand the use of type 'a option = None | Some of 'a ... # let somtotaal x y = match x y with ... val somtotaal : ('a -> int option * int...
Johann Spies
jspies@...
Send Email
Apr 16, 2002
4:22 pm
237
(I consider myself a beginner too, so take all this with a grain of salt. Corrections are welcome.) ... Have a look at the type of your function, it is clearly...
Henrik Motakef
henrik.motakef@...
Send Email
Apr 16, 2002
5:19 pm
238
Le Tue, 16 Apr 2002 17:05:31 +0200 ... Look closely at the printed type : ocaml "thinks", according to your code, that x is a function and that match x y with...
Michel Quercia
michel.quercia@...
Send Email
Apr 16, 2002
5:44 pm
239
... let is_empty = function | "" -> true | _ -> false will work just fine ( constant strings can be matched as well as constant ints or other constant complex...
Warp
ncannasse
Offline Send Email
Apr 16, 2002
6:26 pm
240
... Some others have answered this question pretty well, but I thought I'd follow up with an interesting variant, using optional arguments: # let sometotal...
md5i@...
md5i
Offline Send Email
Apr 16, 2002
8:00 pm
241
I am trying to use functors to abstract out portions of my code. But I quickly ran into a problem. The following gives the flavor of it: module type HANDLER...
bwv211mail
Offline Send Email
Apr 17, 2002
9:16 pm
242
Thank you everybody who replied. This list is indeed a wonderful help! Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie,...
Johann Spies
jspies@...
Send Email
Apr 18, 2002
2:02 am
243
I think I don't see the problem, but I'd like to understand. What exactly is wrong with this? module type HANDLER = sig type t val upcall : t -> unit end ...
Tom Hirschowitz
chov_1_itz
Offline Send Email
Apr 18, 2002
6:12 am
Messages 214 - 243 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help