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

Messages

Advanced
Messages Help
Messages 13770 - 13799 of 13890   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
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. ...
13795 Francois Berenger
f_berenger Send Email
Feb 25, 2013
9:01 am
... If you have the freedom to do so, why not move away from Windows for your OCaml project(s)? ... But I'm quite sure OPAM compiles fine on Debian. It does on...
13796 Sébastien Dailly
s_dailly Send Email
Feb 25, 2013
9:19 am
... This is what I did at home, but I still need Windows at work, and I'm not free for that… ... I confirm, Opam works fine on Debian, and is definitively...
13797 Ashish Agarwal
ashish_a1975 Send Email
Feb 25, 2013
12:36 pm
... Firstly, you should use = (single equal), not == (double equal). ... That would violate the point of a strong type discipline. Take a more extreme example:...
13798 Sergei Steshenko
sergstesh Send Email
Feb 25, 2013
12:46 pm
... If you actually meant 1 == "hello" , yes, I want the answer to be 'false&#39;. Furthermore, even in cases of 1 == 1.0 (* no type coercion !) 0 == 0.0 (* no...
13799 Ashish Agarwal
ashish_a1975 Send Email
Feb 25, 2013
1:02 pm
On Mon, Feb 25, 2013 at 7:46 AM, Sergei Steshenko <sergstesh@...>wrote: ** ... Yes, but this is not analogous, int_1 and float_1 are of the same type, as...
Messages 13770 - 13799 of 13890   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