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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1662 - 1691 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1662
As some of you will recall I recently sent out a request for parties interested in consulting on a project using OCAML being pursued the consultancy I work...
Bosson James
bosson_1
Offline Send Email
Mar 1, 2004
4:36 pm
1663
Hi, I have these definitions: type field = PInt of int | PFloat of float | PString of string;; type optionalfield = Some of field | None;; type anyfield =...
John Goerzen
jgoerzen@...
Send Email
Mar 1, 2004
11:08 pm
1664
... I think you're making this much more complicated than is necessary. Either that, or I'm not understanding. What I think you want is: type rec = { id: int;...
Karl Zilles
kzilles
Online Now Send Email
Mar 1, 2004
11:21 pm
1665
... [snip] ... Either one is possible :-) What I didn't show in my messages are the functions I have that work on objects of type field, optionalfield, and...
John Goerzen
jgoerzen@...
Send Email
Mar 1, 2004
11:50 pm
1666
... It sounds like you're asking for a contradiction. On the one hand, you want to be constrain each record member to a single type (int, float or string)....
Benjamin Geer
ben_geer
Offline Send Email
Mar 2, 2004
12:31 am
1667
... Yurk, rec is a reserved word, don't use it as a type name... ... You are making a big ... : in the declaration type rec = { foo : bar } bar is a type. PInt...
Remi Vanicat
dl_ens
Offline Send Email
Mar 2, 2004
7:40 am
1668
... The "plural" of None is [] !!! So you can skip the 'a option construct if you want. You can set a record as usual for the required fields, plus a field for...
Stalkern 2
stalkern2
Offline Send Email
Mar 2, 2004
2:27 pm
1669
... [ snip ] ... I forgot to reply to this... Yes, Debian is nice. You might notice that within the past week, I've packaged up and uploaded about 5 OCaml...
John Goerzen
jgoerzen@...
Send Email
Mar 3, 2004
3:04 pm
1670
... It's pointless to insist on the packaging format of a single distribution. The physical module distribution of a language must be platform independent. ...
Eray Ozkural
examachine
Offline Send Email
Mar 3, 2004
3:39 pm
1671
Hello I'm new to lex and yacc with Ocaml and I have a problem According to the Ocaml documentation I have written the Lex and the Yacc files. In the yacc...
TBraibant
wisthler_thrawn
Offline Send Email
Mar 3, 2004
4:05 pm
1672
Le mercredi 03 mars, à 17h04 +0100, ... Hello Thomas, The description of your problem seems a bit vague to me, but as a first guess, I'd say that there is...
Virgile Prevosto
virgilepr
Offline Send Email
Mar 4, 2004
8:30 am
1673
I do not know whether this is related to your problem, but FYI, in the token definition (I mean a line like "%token <foo> bar"), type (foo in the example)...
Yamagata Yoriyuki
yoriyuki@...
Send Email
Mar 4, 2004
2:08 pm
1674
Hello, I am the author of OfflineIMAP[1], a multithreaded bidirectional IMAP synchronization program written in Python. I am thinking it would be interesting...
John Goerzen
jgoerzen@...
Send Email
Mar 4, 2004
10:51 pm
1675
i don't know of anything particularly for network streams. when you say you're having problems wrapping your head around what's needed it sounds like you're...
andrew cooke
andrew@...
Send Email
Mar 5, 2004
12:10 am
1676
... Exactly. Thank you very much for the very informative post. I am not well-versed on parser theory. Not too long ago, in Python, I used YaPPS2 (Yet...
John Goerzen
jgoerzen@...
Send Email
Mar 5, 2004
3:51 am
1677
... taking the "if" example, any difficulty wouldn't come from whether "if" is a keyword or, say, a variable. that's what yacc is there to do - decide which...
andrew cooke
andrew@...
Send Email
Mar 5, 2004
10:21 am
1678
Hello, when Perl ist faster than OCaml, did I stupid things, or should I better use Pcre instead of Str? Are there any comaprisions between the performance of...
oliver@...
Send Email
Mar 5, 2004
7:00 pm
1679
Hi, I used the ocamlprof for looking for unnecessary calls or optimizing my code in respect to probability of calls (when they depend on data I analyze). This...
oliver@...
Send Email
Mar 5, 2004
8:01 pm
1680
OK, I'm starting to play around with lex/yacc. I've got a situation here where I have identified strings with the lexer. In the parser, at certain times, I...
John Goerzen
jgoerzen@...
Send Email
Mar 5, 2004
10:44 pm
1681
... Hash: SHA1 ... Hello, I'm also learning how to use ocamllex/yacc at the moment (great tools BTW) and I find the following documentation very usefull : ...
Olivier Grisel
champi412
Offline Send Email
Mar 5, 2004
11:29 pm
1682
From: oliver@... Subject: "ocaml_beginners"::[] How to check performance? Date: Fri, 5 Mar 2004 20:49:58 +0100 ... For the case of "ocamlopt",...
Yamagata Yoriyuki
yoriyuki@...
Send Email
Mar 6, 2004
12:43 am
1683
Hello all, with CAML one often needs to define "union of types" : for example, we may define : type number=I of int |F of float;; let sum=function ...
roparzhhemon
Offline Send Email
Mar 8, 2004
12:34 pm
1684
From: "roparzhhemon" <roparzhhemon@...> Subject: "ocaml_beginners"::[] Half_way polymorphism with CAML Date: Mon, 08 Mar 2004 12:34:35 -0000 ... ...
Yamagata Yoriyuki
yoriyuki@...
Send Email
Mar 8, 2004
1:03 pm
1685
Hi, I've started reading up on the OCaml streams system, and I must say it looks impressive and powerful. However, one of the things missing is regular...
John Goerzen
jgoerzen@...
Send Email
Mar 9, 2004
4:13 am
1686
... No, these are the real limitations. The best way to get regular expression matching and substitution in Ocaml is though the port of PCRE that you can find...
james woodyatt
dr_strychnine
Offline Send Email
Mar 9, 2004
8:26 am
1687
... You can use ocamllex to make a stream of tokens that match regular expressions. The ocamllex program is described in the OCaml reference manual, the...
Issac Trotts
issac_trotts
Offline Send Email
Mar 9, 2004
8:30 am
1688
... Well, it's not plain regexps that I want -- I want a parser system that can use them. ... [ snip ] The immediate problem facing me is that there is no way...
John Goerzen
jgoerzen@...
Send Email
Mar 9, 2004
2:19 pm
1689
Hi, I have very recently started to learn o'caml, and have what I think is a simple question. I may be thinking about things in a procedural/oo way so any...
robin
rbarooah
Offline Send Email
Mar 10, 2004
12:11 am
1690
... But it's not fine for it to be a list--as you would undoubtedly discover for yourself eventually. The problem, of course, is that a list can contain...
Matt Gushee
mcgushee
Offline Send Email
Mar 10, 2004
1:25 am
1691
... OK, I'm not sure what I think you want is really what you want, but if it is, the most straightforward way to do this is probably with an association list...
William Neumann
scoey13
Offline Send Email
Mar 10, 2004
1:35 am
Messages 1662 - 1691 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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