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.

Messages

  Messages Help
Advanced
Messages 3001 - 3030 of 9747   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3001
... This didn't work, but it gave me some insight into the problem. After browsing the ocaml compiler source code, it appears that unless you pass the ...
Tony Edgin
tonyedgin
Offline Send Email
Mar 1, 2005
8:39 am
3002
... MSVC 6 definitely worked for us. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets...
Richard Jones
rwmjones
Offline Send Email
Mar 1, 2005
9:42 am
3003
You can get advapi32.lib from the MS Core SDK. Check out this message from the archives: http://caml.inria.fr/archives/200404/msg00823.html I remember I found...
Andrei Formiga
ktulu_fhtagn
Offline Send Email
Mar 1, 2005
2:54 pm
3004
Hi there, I wonder how I can extend both a module F and its sub-module S (which is then referred to as F.S) I know I can "include" a module and extend with my...
code17
code_1977
Offline Send Email
Mar 4, 2005
9:19 am
3005
The problem is that "include F" isn't really a way of extending modules. What "include F" does is to import all the symbols in F into the current namespace,...
Richard Jones
rwmjones
Offline Send Email
Mar 4, 2005
4:52 pm
3006
... Thanks! I got it to work following the theme of your suggestion. I downloaded MASM32, which included the advapi32.lib. Next, I did something evil; I...
Tony Edgin
tonyedgin
Offline Send Email
Mar 5, 2005
3:26 am
3007
Hi, all There is code as follows: type myType = .... let myVar : myType option = None ... It seems that both 'option' and 'None' are not keyword. Where in...
yyu08
Offline Send Email
Mar 6, 2005
2:54 am
3008
... 'a option is a built in datatype (like 'a list, or 'a array). I'm not really sure where it's defined though, perhaps in pervasives.ml? William D. Neumann ...
William D.Neumann
scoey13
Offline Send Email
Mar 6, 2005
3:03 am
3009
... It is simply predefined, it doesn't belong to any referenceable module: $ ocaml Objective Caml version 3.08.2 # Pervasives.None;; Unbound constructor...
Martin Jambon
BioMim
Offline Send Email
Mar 6, 2005
8:24 am
3010
... I think they used to be defined in pervasives.mli (the Pervasives module), but it appears that in recent versions of OCaml they're actually built in to the...
Richard Jones
rwmjones
Offline Send Email
Mar 6, 2005
11:17 am
3011
I've been thinking a lot about OCaml's restriction that record field names need to be unique. It seems like an uncomfortable tradeoff, and digging into the...
Dave Benjamin
ramenboy420
Offline Send Email
Mar 10, 2005
10:19 pm
3012
We've got a similar problem. We solve it the hard way, prefixing record names, and using "fully qualified" module names when referring to the records from...
Richard Jones
rwmjones
Offline Send Email
Mar 10, 2005
11:19 pm
3013
... That depends, but you can also make them read-only by using the "private" keyword in the module interface (in this case you have to write one): module X : ...
Martin Jambon
BioMim
Offline Send Email
Mar 10, 2005
11:25 pm
3014
... Aha. So, for you, it's not an either-or situation; you're using *both* module scoping and prefixing. I feel strongly motivated to do either one or the...
Dave Benjamin
ramenboy420
Offline Send Email
Mar 11, 2005
1:17 am
3015
... Interesting... I've never really used that feature before. But by "private", I'm really talking about making the type abstract, and just providing...
Dave Benjamin
ramenboy420
Offline Send Email
Mar 11, 2005
1:26 am
3016
... I'd just like to be a bit clearer on why we use both. It's because we commonly have multiple types defined with similar fields within the same module....
Richard Jones
rwmjones
Offline Send Email
Mar 11, 2005
4:39 pm
3017
Hallo!!! I am trying to switch from 'The Cygwin port of Objective Caml' to 'The native Win32 port built with Mingw' and encounter some problems with linking. I...
b_w@...
bombawilly
Offline Send Email
Mar 12, 2005
12:42 am
3018
Hello, on the Caml-list there the term "boxed values" is often used. What's a boxed value and what's an unboxed value? TIA, Oliver -- "If you desire sanity in...
Oliver Bandel
oliver@...
Send Email
Mar 13, 2005
5:01 pm
3019
... If you're familiar with C or C++, then the following explanation should help you. Boxed ... A value which is allocated on the heap and referenced through a...
Richard Jones
rwmjones
Offline Send Email
Mar 13, 2005
6:43 pm
3020
... Basically "boxed" means that you have one level of indirection while "unboxed" means that you actually work with the value itself. [warning: try to "think...
Radu Grigore
radugrigore
Offline Send Email
Mar 13, 2005
7:01 pm
3021
... I mean: there are other situations where you'd want to treat primitives and composed objects in an uniform way. __________________________________ Do you...
Radu Grigore
radugrigore
Offline Send Email
Mar 13, 2005
7:06 pm
3022
On Sun, Mar 13, 2005 at 05:51:42PM +0100, Oliver Bandel wrote: [...] ... [...] Is there no possibility to *directly* use Str-module regexp's on...
Oliver Bandel
oliver@...
Send Email
Mar 13, 2005
10:23 pm
3023
Hello, I developed happily my Mbox-module and learned a lot and were fast in progress... ...all works fine... until I reached the point where I wanted to...
Oliver Bandel
oliver@...
Send Email
Mar 13, 2005
11:18 pm
3024
... Yes, you can use "[\000-\255]" or "\\(.\\|\n\\)" in order to match any character (but not "[.\n]" which matches a dot or a newline). ... I don't know. You...
Martin Jambon
BioMim
Offline Send Email
Mar 14, 2005
2:08 am
3025
... Well... I may use the octal notation... ...but tonight I tried it with what I expected as workaround: I wrote those two functions: let newlines_to_space...
Oliver Bandel
oliver@...
Send Email
Mar 14, 2005
3:04 am
3026
... Good luck! -- Martin Jambon, PhD http://martin.jambon.free.fr...
Martin Jambon
BioMim
Offline Send Email
Mar 14, 2005
4:29 am
3027
... I'll second Martin Jambon on this. You should be using an external library - like his Micmatch, or Pcre. In the case of Pcre, there is a flag to switch...
Richard Jones
rwmjones
Offline Send Email
Mar 14, 2005
9:04 am
3028
... I would be glad if pcre would be part of the OCaml distribution. :) Then there would be a more perlish like Regexp-style (even if pcre does not use Perls...
Oliver Bandel
oliver@...
Send Email
Mar 14, 2005
8:29 pm
3029
... Seems not to be documented in the Str-module documentation... If that is allowed functionality in the Str-module, then it seems to me that the...
Oliver Bandel
oliver@...
Send Email
Mar 14, 2005
8:29 pm
3030
... I think "the jury is still out" on the right replacement for Str. I'm using Pcre at the moment, but considering a move to something like Micmatch or...
Richard Jones
rwmjones
Offline Send Email
Mar 14, 2005
11:37 pm
Messages 3001 - 3030 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