Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ocaml_beginners · Ocaml Beginners

The Yahoo! Groups Product Blog

Check it out!

Group Information

? 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.

Messages

Advanced
Messages Help
Messages 13765 - 13794 of 13887   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
13765 Sergei Steshenko
sergstesh Send Email
Feb 20, 2013
9:11 pm
This is what I already have :) : " type plds_type =     Plds_int of int   | Plds_float of float   | Plds_string of string   | Plds_list of...
13766 Sergei Steshenko
sergstesh Send Email
Feb 20, 2013
11:41 pm
Hello, I've checked Sys.max_string_length: " # Sys.max_string_length;; - : int = 16777211 ". By my standards it's a small value. For example, in Perl strings...
13767 Hongbo Zhang
hongbozhang88 Send Email
Feb 20, 2013
11:45 pm
Hi Sergei, try 64 bit ocaml. The length limit is due to the data representation chosen by ocaml. ... -- -- Regards, Hongbo [Non-text portions of this message...
13768 Sergei Steshenko
sergstesh Send Email
Feb 20, 2013
11:52 pm
Even though my desktop (but not laptop) CPU is capable of running 64 bits, I still prefer 32 bit versions of Linux for various practical reasons. Could you...
13769 oliver
oliver@... Send Email
Feb 21, 2013
2:12 am
... [...] Initially OCaml was written/designed with 64 Bit systems in mind. Later, when it shows up that 32 Bit machines will stay on market for quite long...
13770 Francois Berenger
f_berenger Send Email
Feb 21, 2013
2:21 am
Gabriel mentioned the rope data structure. That would allow you to create giant strings, I guess. There are several implementations in OCaml. ...
13771 Gabriel Scherer
ga_sche Send Email
Feb 21, 2013
8:49 am
Ropes are indeed a reasonable choice for long strings. Another solution is to use Bigarray ( ...
13772 Marek Kubica
pymastr Send Email
Feb 21, 2013
9:43 pm
On Wed, 20 Feb 2013 13:59:43 +0800 ... Well, not really cleanly but Batteries has some kind-of-solution, check out the "dump" function there. regards, Marek...
13773 Sergei Steshenko
sergstesh Send Email
Feb 22, 2013
5:55 am
Hello, in Perl there is 'x' binary operator which replicates its left operand string: " sergei@amdam2:~/junk> perl -e 'print "foo" x 3, "\n"' foofoofoo ". I...
13774 Francois Berenger
f_berenger Send Email
Feb 22, 2013
6:21 am
... open Printf let v = "foo" in printf "%s%s%s&#92;n" v v v; ... More seriously, for more string fun, you can have a look in the Str module from the stdlib, the...
13775 Sébastien Dailly
s_dailly Send Email
Feb 22, 2013
6:41 am
... [1] : http://ocaml-batteries-team.github.com/batteries-included/hdoc2/BatString.html Sébastien...
13776 Sergei Steshenko
sergstesh Send Email
Feb 22, 2013
7:18 am
Thanks. Is the batteries library compatible with standard libraries ? I.e. will some standard library functions be overridden, or the batteries do no export...
13777 Sébastien Dailly
s_dailly Send Email
Feb 22, 2013
8:56 am
... Yes, it's even recommended to add batteries in your project library ! ... Depends, when you'r opening the batteries module, it will overide some standard...
13778 Jason Yeo
goosebumpsov... Send Email
Feb 23, 2013
8:35 am
Hi, ... What's the difference between sexplib and camlp4? They both seem to be libraries that do some form of meta-programming right? Thanks, Jason...
13779 Gabriel Scherer
ga_sche Send Email
Feb 23, 2013
1:18 pm
They are rather different. Camlp4 is a tool/library to write syntactic preprocessors: you use Camlp4 to develop "camlp4 extensions", which are small programs...
13780 Francois Berenger
f_berenger Send Email
Feb 25, 2013
12:50 am
... Come on, use OPAM (kind of aptitude for OCaml-related things) ! That's the modern way of installing OCaml software and libraries: ...
13781 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
1:01 am
... [snip] ... [snip] I have my own AppsFromScratch written Perl using which I build about 400+ targets now, including OCaml itself and some packages using it,...
13782 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
1:12 am
Hello, here is a short interactive session: " sergei@amdam2:~/ocaml_work/plds> /mnt/sdb8/sergei/AFSWD_debug/20121021/rlwrap-0.37/binsh/rlwrap...
13783 Francois Berenger
f_berenger Send Email
Feb 25, 2013
1:13 am
... I completely understand this. And, OPAM supports this via the option -r ROOT, --root=ROOT Use ROOT as the current root path. This is equivalent to setting...
13784 Francois Berenger
f_berenger Send Email
Feb 25, 2013
1:14 am
... I think it is "type annotation"....
13785 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
1:23 am
... [snip] ... No, I do not check cryptographic signatures - I am too lazy for implementing this, though it should be simple. I am not much worried because I...
13786 oliver
oliver@... Send Email
Feb 25, 2013
1:37 am
... If you wish something to be added / changed in OCaml distribution, you can create an item in the Bugtracker as a feature wish. It may take a while, but if...
13787 Ashish Agarwal
ashish_a1975 Send Email
Feb 25, 2013
1:46 am
You may want to read starting here: http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora015.html#toc12 ... [Non-text portions of this message have been...
13788 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
6:09 am
... Thanks to all who responded - now I know that it is of "type constraints" and "type annotation" categories/search phrases :). Regards,   Sergei....
13789 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
6:21 am
Hello, I know OCaml is strictly typed, so, on one hand, I am not surprised to see " # 1 == 2.0;; Error: This expression has type float but an expression was...
13790 Francois Berenger
f_berenger Send Email
Feb 25, 2013
6:35 am
... This type error is a compile-time error. I.e.: OCaml tells you that your program is wrong when looking at its types (even before you run the program). You...
13791 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
6:44 am
... I do not think I am suggesting to break type safety. In "C" terms I am saying/suggesting more or less the following: if we have a union (variant type in...
13792 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
6:53 am
... Or, in one sentence: apples and oranges are always different :). Regards,   Sergei....
13793 Lukasz Stafiniak
luk_stafi Send Email
Feb 25, 2013
7:10 am
... Not so in OCaml, which has type erasure. "None" and "0" are the same. [Non-text portions of this message have been removed]...
13794 Sébastien Dailly
s_dailly Send Email
Feb 25, 2013
8:57 am
... I did not succed to compile Opam nor install opam in cygwin, so I continue with plain old method wich consist of compiling the package I need manually. ...
Messages 13765 - 13794 of 13887   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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