sponge45 changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
rillig has quit ["exit(EXIT_SUCCESS)"]
<tsuyoshi> ah
<tsuyoshi> ocamlopt -a doesn't accept .cmxa arguments
<oscarh> I'll check, just a sec
<oscarh> Hum, so I can't link a lib with other libs?
<oscarh> When compiled natively?
<tsuyoshi> I guess you just link with the .mli
<tsuyoshi> or .cmi
<tsuyoshi> I made a library before but I didn't use ocamlfind to build it, so I never ran into that
<oscarh> I can't link with .cmi, it's just an interfac?
Mr_Awesome has joined #ocaml
johnnowak has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
smimou has quit ["bli"]
postalchris has joined #ocaml
<oscarh> Is the Condition module doing something weird as blocking the process calling signal if no one is waiting?
<oscarh> Or have I had too many hours of stairing at code?
<oscarh> I seem to have locking issues when lining with lablgtk2
esdee has quit ["Leaving"]
<oscarh> val main : unit -> unit
<oscarh> main runs the main loop, until quit is called. Do not use in multi-threaded programs.
<oscarh> Haha, ok, so...
<oscarh> But could that cause random mutexes / conditions to stop working?
<oscarh> Feel free to ignore me, I've figured it out. There is a GtkThread module, which is not in the documentation linked from the tutorial. It is however very useful ;)
postalchris has quit [Read error: 145 (Connection timed out)]
postalchris has joined #ocaml
beterraba has joined #ocaml
<beterraba> how to convert an integer to a flot and vice-versa on SML?
postalchris has quit [Read error: 145 (Connection timed out)]
danly has quit [Read error: 110 (Connection timed out)]
<beterraba> how to convert an integer to a flot and vice-versa on SML?
beterraba has quit ["Leaving"]
benny_ has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
<oscarh> benny_, toReal / toInt / fromInt etc.. Never used SML, but that whats you'll find in the manual.
<Mr_Awesome> that was beterraba, and hes already left
b00t has joined #ocaml
david_koontz has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
danly has joined #ocaml
cmeme has quit ["Client terminated by server"]
cmeme has joined #ocaml
danly has quit ["Reconnecting"]
danly has joined #ocaml
johnnowak has quit []
Mr_Awesome has quit ["...and the Awesome level drops"]
shawn has quit [Read error: 113 (No route to host)]
danly_ has joined #ocaml
danly has quit [Read error: 110 (Connection timed out)]
Smerdyakov has quit ["Leaving"]
danly_ has quit ["Reconnecting"]
danly has joined #ocaml
b00t has quit [Remote closed the connection]
pants1 has joined #ocaml
danly_ has joined #ocaml
danly has quit [Nick collision from services.]
danly_ is now known as danly
pants1 has quit ["Leaving."]
dark_light has quit [Read error: 110 (Connection timed out)]
danly has quit [Read error: 110 (Connection timed out)]
jlouis has quit ["Leaving"]
love-pingoo has joined #ocaml
love-pingoo has quit [Read error: 113 (No route to host)]
b00t has joined #ocaml
vorago has quit [Connection timed out]
vorago has joined #ocaml
love-pingoo has joined #ocaml
vorago has quit [Read error: 148 (No route to host)]
diffbavis has joined #ocaml
postalchris has joined #ocaml
b00t has quit [Remote closed the connection]
Submarine has quit [Nick collision from services.]
Submarine_ has joined #ocaml
Submarine_ has quit [Remote closed the connection]
postalchris has quit [Read error: 110 (Connection timed out)]
vorago has joined #ocaml
<ulfdoz> Why is "type foo = Foo of int * int" different from "type foo = Foo (int * int)". The former is a constructor with 2 arguments, the second with one argument, but I don't really see why this should be useful?
<love-pingoo> it's not really useful, but it's different
<love-pingoo> that's an odd thing about caml
<love-pingoo> the internal representation is different
<ulfdoz> hmkay.
<love-pingoo> your question is similar to "why are (t,(t,t)) and (t,t,t) different ?"
<love-pingoo> they're isomorphic, sure, but not all ismorphic things can be implicitely equated, that's all
<ulfdoz> Good example. That makes me understanding.
Morphous has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Morphous is now known as Amorphous
postalchris has joined #ocaml
pattern has quit [calvino.freenode.net irc.freenode.net]
pattern has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
jlouis has joined #ocaml
jave has joined #ocaml
<jave> I'm contemplating improving emacs support for ocaml
<jave> I'm currently just researching, and would need some hints on how introspection works in ocaml, or how to acess library type information (I'm not really very good at ocaml)
david_koontz has left #ocaml []
<love-pingoo> introspection is very limited and difficult, unfortunately for such projects
<love-pingoo> there's ongoing discussion on that kind of topics on the caml-list
Riesz has joined #ocaml
<jave> ok
<jave> It would be sufficient to figure out whih functions live in the String module, for instance, so I can complete String.l to String.length. Is there no way to acess this information?
slipstream-- has joined #ocaml
vorago has quit [Read error: 110 (Connection timed out)]
pango has quit [Remote closed the connection]
love-pingoo has quit ["Connection reset by pear"]
vorago has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
pango has joined #ocaml
Smerdyakov has joined #ocaml
love-pingoo has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
diffbavis has joined #ocaml
cjeris has joined #ocaml
shawn has joined #ocaml
shawn has quit [Remote closed the connection]
shawn has joined #ocaml
shawn has left #ocaml []
bluestorm_ has joined #ocaml
Hadaka has quit ["leaving"]
jlouis has quit [Remote closed the connection]
smimou has joined #ocaml
danly has joined #ocaml
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
Balakirev has joined #ocaml
Naked has joined #ocaml
esdee has joined #ocaml
<esdee> is Str.string_match (Str.regexp_string "foo") s 0 the fastest/right way to search for a string inside another string?
jlouis has joined #ocaml
mnemonic has joined #ocaml
<mnemonic> hi
david_koontz has joined #ocaml
<Balakirev> hello
Balakirev has quit []
<mbishop> This "ocamlbuild" is looking neat
pstickne has quit [Success]
pstickne has joined #ocaml
david_koontz has quit ["This computer has gone to sleep"]
Submarine has joined #ocaml
<flux-> hmph, != versus <> is a real trap in ocaml, but maybe after this day I'll instinctly learn to write the right thing
<Submarine> == on objects in Java also is
<flux-> = versus == is dangerous in c, but in a way its just as dangerous in ocaml - bugs happen
<flux-> atleast you can never expect == to work in java
<flux-> were there some restrictions on the = -operator in java?
<flux-> atleast because objects aren't considered boolean values the compiler will often find those bugs
love-pingoo has quit ["Connection reset by pear"]
david_koontz has joined #ocaml
<pango> esdee: not as fast as using an implementation of KMP, Karp-Rabin, or other efficient substring matching algorithms
<pango> esdee: http://www.google.com/codesearch?hl=en&q=+lang:ocaml+kmp+show:w_KA1HW0Tbo:0W8JmAhxGGY:mZ6N9pWYUm8&sa=N&cd=2&ct=rc&cs_p=http://caml.inria.fr/distrib/ocaml-examples-3.08.tar.gz&cs_f=./ocaml-examples-3.08/basics/kmp.ml
mnemonic has quit ["leaving"]
zeeeeee has quit ["Leaving"]
smimou has quit ["bli"]