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 9163 - 9192 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
9163
... Hi Fabrice ! ... thanks, and as you told me in pm, the bug that the cell wasn't checked at the beginning of a loop but at the end (since I had...
Florent Monnier
fmonnier@...
Send Email
Jan 1, 2008
1:20 pm
9164
Could write : let rec p((c,b,k)as z)... -> * 1 = + 6 bytes and replace c,b,k by z -> (-4) * 3 = -12 bytes ... - 6 bytes Regards, Fabrice...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Jan 2, 2008
10:58 pm
9165
hi, maybe someone's interested or even has a solution: I read the following on the `unison' mailing list: ...
Joerg van den Hoff
vdh_j
Offline Send Email
Jan 3, 2008
11:12 am
9166
... Are you looking for something like this: http://camomile.sourceforge.net/ -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. ...
Jon Harrop
harropjon
Offline Send Email
Jan 3, 2008
5:46 pm
9167
... No. OCaml understands character encodings as well as any other language, and there are comprehensive conversion libraries available. It's just that the...
Richard Jones
rwmjones
Offline Send Email
Jan 3, 2008
10:16 pm
9168
... thanks. I'll notify the `unison' list of this in case it did escape their attention up to now. joerg...
Joerg van den Hoff
vdh_j
Offline Send Email
Jan 4, 2008
10:54 am
9169
... I think this came up in the context of Unison before and there was an issue with GTK or LablGTK as well. I can't remember what but you might check that ...
Jon Harrop
harropjon
Offline Send Email
Jan 4, 2008
1:38 pm
9170
Hi, When running ocamldebug through emacs, how does one specify the command line arguments that need to be passed to the executable? Thanks, Tim...
Tim ODonnell
tjo5
Offline Send Email
Jan 4, 2008
1:55 pm
9171
Hi, In the C interface, while it is safe to handle a pointer to a C structure by an abstract type, I wonder if it is also possible to handle it by a ...
Florent Monnier
fmonnier@...
Send Email
Jan 4, 2008
6:02 pm
9172
... Either should work, because both are still abstract types. I implemented phantom types in ocaml-libvirt in this way. Rich. -- Richard Jones Red Hat...
Richard Jones
rwmjones
Offline Send Email
Jan 4, 2008
9:41 pm
9173
Greetings! 16:46 [vss@tiger] ~/tmp/ocaml > cat module.ml type r = { s : string; };; let create s = { s = s; };; 16:46 [vss@tiger] ~/tmp/ocaml > cat main.ml let...
Vlad Skvortsov
vskvortsov
Online Now Send Email
Jan 5, 2008
12:40 am
9174
... Just uniformity. You have to specify where the record is from in each expression separately. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. ...
Jon Harrop
harropjon
Offline Send Email
Jan 5, 2008
1:10 am
9175
Hi, ... I understand what you mean. In the precise case you gave indeed there is no trick about what is the type of v. But you have to think in a more ...
Florent Monnier
fmonnier@...
Send Email
Jan 5, 2008
2:26 pm
9176
... (You probably know this already but ...) I guess it's worth adding to the other replies that you can use 'open' to avoid both uses, eg: open Module let v =...
Richard Jones
rwmjones
Offline Send Email
Jan 5, 2008
9:04 pm
9177
I was looking at the implementation of a stack module here http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora131.html#toc183 and tried to use a list to...
tenuc70
Offline Send Email
Jan 6, 2008
1:20 am
9178
... hi, you have to return the modified list pop modifies the data structure and retrieves the last element let pop s = function ... let stack = create () in ...
Peter Halacsy
halacsyp
Offline Send Email
Jan 6, 2008
1:36 am
9179
Hi Peter, thanks for trying to help me. See me comments below. ... The problem here is that the user of the interface is exposed to the internal representation...
tenuc70
Offline Send Email
Jan 6, 2008
2:07 am
9180
... This should be: type 'a t = 'a list ref -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e...
Jon Harrop
harropjon
Offline Send Email
Jan 6, 2008
8:25 am
9181
Hello, Let it put me this way: Peter's code is OK, but your interface is wrong. You could "fix" Peters code to fit your interface by replacing let push stack d...
Johannes Kanig
johanneskanig
Offline Send Email
Jan 6, 2008
8:39 am
9182
... Why do you say this? You should probably read something about persistent data structures, eg: http://en.wikipedia.org/wiki/Persistent_data_structure ...
Richard Jones
rwmjones
Offline Send Email
Jan 6, 2008
9:46 am
9183
... and notice that if you have this in your implementation: type 'a t = 'a list ref you can hide the implementation in the signature: type 'a t sig type 'a t ...
Florent Monnier
fmonnier@...
Send Email
Jan 6, 2008
3:24 pm
9184
Hi, I've written a new binding, and it works fine in bytecode but I get this error when trying to run the demos in native code: error while loading shared...
Florent Monnier
fmonnier@...
Send Email
Jan 6, 2008
3:32 pm
9185
Hello, I ran into a similar problem some time ago. If my guess is correct, you are using a -L... directive when compiling your .cmxa ? the problem is that the...
Mathias Kende
mathias@...
Send Email
Jan 6, 2008
11:25 pm
9186
Hello, I am completely new to Ocaml, having been introduced to it just recently, at a college course, and I have to admit that I find it a very interesting and...
konrad.siek
konrad.siek@...
Send Email
Jan 6, 2008
11:53 pm
9187
Hi ! Please what's wrong with this piece of code ? *) let line = ref (Stream.of_string "") let file_names = ref (List.tl (Array.to_list Sys.argv)) let rec...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Jan 7, 2008
12:29 am
9188
Streams are mutable. You are closing the channel, which the stream still depends on. On the recursive call, you try to use that stream, but its underlying...
Ashish Agarwal
ashish_a1975
Offline Send Email
Jan 7, 2008
1:00 am
9189
On Sun, 6 Jan 2008 20:00:42 -0500 ... Of course you are right ! Thanks a lot, will keep the channel open until the stream isn't emptied. Regards, Fabrice...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Jan 7, 2008
1:22 am
9190
Hi ! http://wiki.slembcke.net/main/published/Chipmunk Great demos ! Good idea to write an OCaml binding for this lib. Friendly, Fabrice...
Fabrice Marchant
fabrice.marc...
Offline Send Email
Jan 7, 2008
1:34 am
9191
Hi, as you probably know C code can be manipulated with tools like cpp and m4, for example through '#define' statements or embedded special symbols like...
tenuc70
Offline Send Email
Jan 7, 2008
5:03 am
9192
... Does the main thread do any intensive work, busy waiting or looping? Rich. -- Richard Jones Red Hat...
Richard Jones
rwmjones
Offline Send Email
Jan 7, 2008
12:22 pm
Messages 9163 - 9192 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