Banana changed the topic of #ocaml to: OCaml 3.08.1 available! | Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/ | 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/
CosmicRay has joined #ocaml
eugos has left #ocaml []
GreyLensman has joined #ocaml
kinners has joined #ocaml
skylan_ is now known as skylan
mrsolo_ has joined #ocaml
phubuh has joined #ocaml
CosmicRay has quit ["Client exiting"]
monochrom has joined #ocaml
cjohnson has quit ["The main attraction: distraction"]
mrsolo_ has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
ez4 has quit [Remote closed the connection]
GreyLensman has quit ["Leaving"]
monochrom has quit ["Don't talk to those who talk to themselves."]
det has quit ["Lost terminal"]
det has joined #ocaml
vezenchio has joined #ocaml
z|away has quit ["leaving"]
kinners has quit ["leaving"]
CLxyz has quit [Read error: 104 (Connection reset by peer)]
Nutssh has quit [Read error: 104 (Connection reset by peer)]
Nutssh has joined #ocaml
Nutssh has quit [Success]
mrsolo_ has joined #ocaml
Nutssh has joined #ocaml
diablo_ has joined #ocaml
diablo_ is now known as Tristram
Nutssh has quit [Read error: 104 (Connection reset by peer)]
mrsolo has quit [Read error: 242 (No route to host)]
Nutssh has joined #ocaml
Herrchen has joined #ocaml
Nutssh has quit [Read error: 54 (Connection reset by peer)]
Nutssh has joined #ocaml
Nutssh has quit [Read error: 232 (Connection reset by peer)]
Nutssh has joined #ocaml
Herrchen has quit ["bye"]
Nutssh has quit [Read error: 104 (Connection reset by peer)]
Nutssh has joined #ocaml
Nutssh has quit [Read error: 54 (Connection reset by peer)]
Nutssh has joined #ocaml
Nutssh has quit [Read error: 54 (Connection reset by peer)]
Nutssh has joined #ocaml
Nutssh has quit [Connection reset by peer]
Nutssh has joined #ocaml
Nutssh has quit [Read error: 104 (Connection reset by peer)]
kinners has joined #ocaml
karryall has quit ["tcho"]
mlh has joined #ocaml
malte has quit ["Lämnar"]
lmbdwr has quit ["Leaving"]
cjohnson has joined #ocaml
<Tristram> hello
<Tristram> can somewhone help me? :
<Tristram> I installed pcre
<Tristram> I launched ocaml site-package/pcre/prcre.cma
<Tristram> but open Pcre;; gives me Unbound module Pcre
<Tristram> how can I use it?
<kinners> Tristram: you need to load the .cma, such as ocaml -I +pcre pcre.cma
<kinners> Tristram: look in the manual for more info, the +pcre turns into a path relative to the ocaml stdlib dir
<Tristram> thanks kinners
<Tristram> I thought it was enought to put the paths, like for the Unix module
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
<Tristram> hum... it doesn('t seam to work
<kinners> Tristram: all it needs is the right path and the right file
<kinners> Tristram: -I +../std-lib/pcre might work, the ocamlfind tool deals with site-package/* packages too
<kinners> Tristram: ocamlfind -package pcre foo.ml -o foo for example
<kinners> Tristram: er.. I mean, ocamlfind ocamlc -package pcre foo.ml -o foo
<Tristram> ok I foud
<Tristram> found
<Tristram> thank you for your help
<Tristram> -I +site-package/pcre
<Tristram> almost what you said
<Tristram> realy thanks
monochrom has joined #ocaml
kinners has quit ["zzz"]
<dan2> are there any sip bindings for ocaml?
<dan2> whats the best way to create bindings for a library in C?
<dan2> erm
<dan2> a library written in C
<mattam> swig can help
<dan2> grr
<dan2> this is pissing me off
<dan2> I am just trying to make an example of linking to a small c file and it says the functions aren't available
<mellum> with swig?
<dan2> no, by hand
<mellum> What exactly did you do, and what's the exact message?
<dan2> conv.c has two functions, f2c, and c2f
<dan2> I made an ex.ml
<dan2> external f2c: float -> float = "f2c";;
<dan2> external c2f: float -> float = "c2f";;
<dan2> mellum: I found the problem, I put it in the wrong order on the command line
<dan2> hmm causes segfault
malte has joined #ocaml
<mellum> dan2: C is evil. Avoid it like the plague :)
<dan2> mellum: this sucks, all I want to do is be able to get floating point numbers from a fast c function
<Tristram> aren't caml's floats fast enought 0_0???
<dan2> Tristram: its a simple test, and caml can't interface with C successfully without segfaulting
<Tristram> all right
<Tristram> I can't help you
<Tristram> I never interacted with c
* dan2 goes back to writing generics in ocaml
mlh has quit [Client Quit]
filon has joined #ocaml
<dan2> wow, this cast generic really is neat
<dan2> it basically emulates the type conversion in c++
filon has left #ocaml []
tnks has quit [Read error: 110 (Connection timed out)]
_fab has joined #ocaml
* monochrom goes write genetic casts.
Banana has quit [Read error: 104 (Connection reset by peer)]
pango has quit [Nick collision from services.]
pango_ has joined #ocaml
vezenchio has quit ["If god didn't believe athiests existed, you would not exist. However you exist, so there must be no god"]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
ez4 has joined #ocaml
zigong has quit ["Leaving"]
KrispyKringle has joined #ocaml
KrispyKringle has quit ["Leaving"]
KrispyKringle has joined #ocaml
eugos has joined #ocaml
maihem has joined #ocaml
GreyLensman has joined #ocaml
CLxyz has joined #ocaml
m3ga has joined #ocaml
m3ga has quit [Client Quit]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
zigong has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
CLxyz has quit [Read error: 232 (Connection reset by peer)]
eugos has left #ocaml []
_fab has quit [Remote closed the connection]
GreyLensman has quit ["movie"]
ez4 has quit [Remote closed the connection]
CLxyz has joined #ocaml
KrispyKringle has left #ocaml []