dylan changed the topic of #ocaml to: OCaml 3.09.1 available! Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
MisterC has quit [Remote closed the connection]
smimou has quit ["bli"]
theArthur has quit [Remote closed the connection]
mrsolo__ has quit [Connection reset by peer]
mrsolo__ has joined #ocaml
ski_ has joined #ocaml
ski has quit [Read error: 110 (Connection timed out)]
dark_light has joined #ocaml
dark_light has quit [Client Quit]
dark_light has joined #ocaml
Smerdyakov has quit ["Leaving"]
llama32 has joined #ocaml
<llama32> can native compiled ocaml code dynamically link (plugins...)?
pabs3 has joined #ocaml
joshcryer has joined #ocaml
<llama32> anybody?
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
bluestorm has joined #ocaml
dark_light is now known as dark`away
bluestorm has quit [Remote closed the connection]
bluestorm has joined #ocaml
dark`away is now known as dark_light
Demitar has quit [Read error: 101 (Network is unreachable)]
Demitar has joined #ocaml
theArthur has joined #ocaml
piggy_ has left #ocaml []
llama32 has quit [Read error: 110 (Connection timed out)]
slipstream has quit [Read error: 110 (Connection timed out)]
slipstream has joined #ocaml
__DL__ has joined #ocaml
vodka-goo has joined #ocaml
dark_light has quit [Remote closed the connection]
Snark has joined #ocaml
dark_light has joined #ocaml
bluestorm has quit [Remote closed the connection]
smimou has joined #ocaml
Skal has joined #ocaml
theArthur has quit [Remote closed the connection]
<pabs3> is it possible to have ocaml shared libraries ?
dark_light has quit ["Fui embora"]
Boojum has joined #ocaml
<smimou> pabs3: not easily
Snark has quit [Read error: 110 (Connection timed out)]
Boojum is now known as Snark
<pabs3> hmmm, ok
ramki has joined #ocaml
ramkrsna has quit [Read error: 110 (Connection timed out)]
ramkrsna has joined #ocaml
gim has quit [Remote closed the connection]
ramki has quit [Read error: 110 (Connection timed out)]
joshcryer has quit [Read error: 110 (Connection timed out)]
bluestorm has joined #ocaml
samx has quit ["Leaving"]
Anarchos has joined #ocaml
pabs3 has quit ["Don't rest until all the world is paved in poems."]
Smerdyakov has joined #ocaml
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
mikeX has joined #ocaml
Snark has quit ["Leaving"]
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
TaXules has quit [Remote closed the connection]
TaXules has joined #ocaml
Schmurtz has quit [Read error: 110 (Connection timed out)]
bluestorm has quit [Remote closed the connection]
Skal has quit [Remote closed the connection]
tspier2 has joined #ocaml
Anarchos has joined #ocaml
<tspier2> Hallo Anarchos ^_^
<Anarchos> why is my caml_oldify_one running forever, taking all my cpu ?
<Anarchos> hello tspier2, dobry dien
<tspier2> Er, did I just see some Polish?
<Anarchos> tspier2 i know this is the same in russian, tchekish and polish :)
<tspier2> Anarchos, jak sie masz?
<Anarchos> sorry i don't speak polish, i just know those words
<Anarchos> in russian
<tspier2> Oh
<tspier2> Lol
<tspier2> I only speak a little Polish, a little Spanish, a lot of German, and English.
<Anarchos> so let us speak english !
<Anarchos> i interfaced ocaml with a C++ API but it is bugged
<Anarchos> a call to caml_oldify_one is taking all the time :(
<tspier2> Sorry, I can't help, because I have no experience with C++, and am basically just starting with OCaml. However, I do have a question. How can I let an equation keep being evaluated, even if it never ends? For example, 2/15 is .1333333, and the 3 keeps going. It stops after like 10 or 15 digits though. How can I have it keep going?
<Anarchos> hmm look to the option of Printf.printf
<pango> tspier2: representation of reals are finite in computers
<Anarchos> you can also set as an option to the toplevel the size of the display of a value before truncate it
<tspier2> What do you mean, pango?
<pango> tspier2: I mean that no variable can contain the exact value of 2/15
<tspier2> I know, but how can you make the evaluating keep going, instead of stopping at ten of fifteen digits?
<flux__> well, there are numbers that are represented as a ratio, Num-module has those
<Anarchos> tspier2 use an exact library like intnat
<tspier2> flux__, if I put "2.0 /. 15.0;;", it stops after the fifteen or so digits. How can I make it keep going?
<flux__> Printf.printf "%.20f" 1.23456
<flux__> that will already show the inaccuracy
<flux__> computers usually don't store 0.3333.. as 1/3, which would be required to get an actual infinite sequence of 3333
<flux__> they store a number that is close to it
<tspier2> Gah. I give up.
<flux__> the Num-module let's you do: approx_num_exp 40 (num_of_int 10 // num_of_int 3);; --> +0.1333333333333333333333333333333333333333e0
<Anarchos> [OCAMLYACC] Is it possible to use some native chars like '>' as terminals, or should i use a terminal KEYWORD with a semantic attribute ?
<tspier2> Oh
<flux__> s/;//
<flux__> (argh, whatever ;))
<tspier2> Unbound Value
<flux__> #load "nums.cma";;
<flux__> and obviously open Num;;
<tspier2> Okay. Thanks.
<tspier2> In OCaml, is there a type like "long int" in C?
<smimou> nativeint ?
<pango> Int32.t ?
<smimou> isn't long arch-dependent? (I never remember)
<flux__> it's easy in c: they are all implementation dependant
<Anarchos> tspier2 : in the last version : Int32, Int64
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
<tspier2> Okay
Snark has joined #ocaml
tspier2 has left #ocaml []
slipstream-- has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
wimp has joined #ocaml
<wimp> why should I prefer ocmal to scheme (which I know) and haskell (which I don't know) ?
<wimp> I'm really confused by the three (no, not trying to start flame war)
<wimp> just hoping to get the ocaml argument
<wimp> from real people rather than random essays
<smimou> ocaml is strongly typed
<smimou> (=> better dans scheme I think)
<smimou> ocaml generates fast programs and is easy to learn
<smimou> (=> better than haskell)
<smimou> it's obviously partial
mikeX_ has joined #ocaml
mikeX has quit [Nick collision from services.]
mikeX_ is now known as mikeX
<wimp> what's the ocaml argument vs code/data being one; of being able to construct lists and eval them on the fly?
<smimou> could you explain your point a bit more ? I don't understand
Snark has quit ["Leaving"]
<mattam> wimp wants eval()
<smimou> ah...
<smimou> hi mattam btw
<smimou> how are you ?
<mattam> it's not type safe and you rarely need it in ocaml (if at all)
<mattam> fine, hi :)
<pango> not to mention compiled programs don't contain any interpreter
Anarchos has joined #ocaml
<Anarchos> is it possible to use chars instead of terminal symbols in ocmalyacc ??
mellum has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Connection reset by peer]
Anarchos has quit ["Vision[0.8.5-0418]: i've been blurred!"]
vodka-goo has quit ["Connection reset by by pear"]
Skal has joined #ocaml
dark_light has joined #ocaml
MisterC has joined #ocaml
smimou has quit ["bli"]
Skal has quit [Read error: 110 (Connection timed out)]
bzzbzz has joined #ocaml
* Smerdyakov wonders if wimp is still here and interested in answers to his questions. :)