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.
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 6524 - 6553 of 11541   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
6524
... It's not possible, at least not in pure OCaml. Have a look at Std.dump in extlib. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and...
Richard Jones
rwmjones
Offline Send Email
Sep 1, 2006
9:47 am
6525
Hello, As I understand it Ocaml (using version 3.09.2) only has 2^31 bits available for bit manipulation. This means that the maximum value acceptable is...
Hugo Ferreira
hugotwo3
Offline Send Email
Sep 1, 2006
10:37 am
6526
Hi, Just to add that the following is also puzzling me: # 1073741824 = (-1073741824) ;; - : bool = true Regards, Hugo F....
Hugo Ferreira
hugotwo3
Offline Send Email
Sep 1, 2006
10:43 am
6527
Hi, ... Datum: Fri, 01 Sep 2006 11:42:16 +0100 Von: Hugo Ferreira <hmf@...> An: ocaml_beginners@yahoogroups.com Betreff: Re: "ocaml_beginners"::[]...
Michael Wohlwend
scheischeischei
Offline Send Email
Sep 1, 2006
11:09 am
6528
Hello, Le ven 01 sep 2006 11:42:16 CEST, ... On a 32 bits-machine, ocaml's integers are indeed 31 bits long. On a 64-bits, their size is 63 bits. ... ^^ 30 Not...
Virgile Prevosto
virgilepr
Offline Send Email
Sep 1, 2006
11:11 am
6529
Le ven 01 sep 2006 13:09:37 CEST, ... BTW, this is exactly the bug 3582: http://caml.inria.fr/mantis/view.php?id=3582 -- E tutto per oggi, a la prossima volta....
Virgile Prevosto
virgilepr
Offline Send Email
Sep 1, 2006
11:14 am
6530
Typical 2s complement :) ints in ocaml are signed, so when you shift 2^30 left 1 bit, the sign bit is set => negative. shift it right 1 bit, the sign bit is no...
Jonathan Roewen
consulatewizard
Offline Send Email
Sep 1, 2006
11:16 am
6531
... No. It gives the following error. File "display.ml", line 4, characters 27-35: Unbound type constructor Game.G.t...
Chris Campbell
chrisdanx
Offline Send Email
Sep 1, 2006
12:12 pm
6532
Hi Michael, Virgile, Jonathan, Thanks for the answer. I guess I will treat the numbers as unsigned. Regards, Hugo Ferreira....
Hugo Ferreira
hugotwo3
Offline Send Email
Sep 1, 2006
12:15 pm
6533
Hello all, I'm using the "ocamlgraph" library by Mr Filliatre et al - found on the caml hump - and I have no problem while compiling with ocamlc, but compiling...
vincent.aravantinos
vincent.arav...
Offline Send Email
Sep 1, 2006
5:12 pm
6534
Do you compile in right order? e.g. ocamlc -c game.mli game.ml ocamlc -c display.mli display.ml ocamlc -c init.mli init.ml You can't compile display.ml until...
Jonathan Roewen
consulatewizard
Offline Send Email
Sep 2, 2006
12:19 am
6535
That's a binutils error, not ocaml (/usr/bin/ld). You may want to try `ranlib /usr/local/lib/ocaml/graph.a` as the command suggests, and see if that fixes it....
Jonathan Roewen
consulatewizard
Offline Send Email
Sep 2, 2006
12:22 am
6536
... Great, that works ! I REALLY didn't understand why but it works... Thanx a lot ! Vincent...
vincent.aravantinos
vincent.arav...
Offline Send Email
Sep 2, 2006
8:07 pm
6537
`man ar` gives the answer, for completeness. ar creates an index to the symbols defined in relocatable object modules in the archive when you specify the...
Jonathan Roewen
consulatewizard
Offline Send Email
Sep 2, 2006
11:08 pm
6538
... It was just a load of ml files, no interfaces. They were compiled in the right order. I'll play around adding an mli file to a similar example later...
Chris Campbell
chrisdanx
Offline Send Email
Sep 3, 2006
10:10 am
6539
I've built a graph functor which allows graphs with arbitrary node labels and a creates a couple of processing functions. Suppose I wanted to make a graph out...
jshaw10
Offline Send Email
Sep 5, 2006
6:57 pm
6540
... It's hard to tell without seeing some code, but my guess is that you're not exposing the type that contains Np (looppath?) in the functor's signature. ...
William D. Neumann
scoey13
Offline Send Email
Sep 5, 2006
8:03 pm
6541
Well you set me on the right track. What I had was something like module Make(...) : G with type ... but the "with" syntax doesn't allow constructed types for...
jshaw10
Offline Send Email
Sep 5, 2006
10:05 pm
6542
Hello folks, I'm getting tired of typing List.Foo, Array.bar, and so on, but I don't (necessarily) want to deal with the gigantic namespace I get when I open...
Mac Mason
macfoobar
Offline Send Email
Sep 6, 2006
12:07 am
6543
module A = Array;; A.iter ...;; Slightly different from open, but will do what you want. Jonathan...
Jonathan Roewen
consulatewizard
Offline Send Email
Sep 6, 2006
12:11 am
6544
I googled for implementation of variable length array but haven't found. I need the collect long lists: only to add to the end and finally iterate over the...
Peter Halacsy
halacsyp
Offline Send Email
Sep 6, 2006
8:30 am
6545
Hello, I have a map (actually a hashtable) with a function update table key update_fun default_data If this finds the key in the table then replaces it's value...
Peter Halacsy
halacsyp
Offline Send Email
Sep 6, 2006
9:34 am
6546
... Have a look at Extlib. There is a variable length array implementation in there, although I've never used it. ... This implementation is the reason why...
Richard Jones
rwmjones
Offline Send Email
Sep 6, 2006
1:21 pm
6547
... As far as I can understand this message, I think you've got two or possibly three different problems. Firstly, take a look at the Lazy module (and the lazy...
Richard Jones
rwmjones
Offline Send Email
Sep 6, 2006
1:27 pm
6548
... If you want to avoid the find+add scheme, you have to copy-paste hashtbl.ml and hashtbl.mli, and create your own "update" function. I suggest the following...
Martin Jambon
BioMim
Offline Send Email
Sep 6, 2006
7:08 pm
6549
On Wed, 06 Sep 2006 20:47:12 +0200, Martin Jambon ... I've my own implementation with similar update function but the updater is ('b -> 'b). My problem is the...
Peter Halacsy
halacsyp
Offline Send Email
Sep 6, 2006
7:37 pm
6550
Hi, Can someone please enlighten me on how Ocaml decudes formal parameters for a function? See the following example: # let foo = function x -> x + 1;; val...
doug_arro
Offline Send Email
Sep 6, 2006
7:52 pm
6551
... No, it's a function (or a lazy value if you prefer): let init () = ref 0 ... let updater v = incr v ... -> calls init ... -> calls updater ... Only the...
Martin Jambon
BioMim
Offline Send Email
Sep 6, 2006
8:02 pm
6552
... Because foo2 is a function that takes 2 arguments. You can define functions in ocaml in several different ways. foo demonstrates creating a function by...
Karl Zilles
kzilles
Online Now Send Email
Sep 6, 2006
8:08 pm
6553
... Same as: let foo2 x y = y + 1 ... The second argument is missing, so you get a function which expects the remaining argument. ... -- Martin Jambon, PhD ...
Martin Jambon
BioMim
Offline Send Email
Sep 6, 2006
8:10 pm
Messages 6524 - 6553 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