flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.00.1 http://bit.ly/UHeZyT | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
Anarchos has quit [Quit: need to sleep * besoin de dormir * o kousk emaon]
ollehar has quit [Ping timeout: 268 seconds]
weie has quit [Read error: Connection reset by peer]
weie has joined #ocaml
walter|r has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
ollehar has joined #ocaml
Neros has joined #ocaml
chrisdotcode has joined #ocaml
walter|rtn has joined #ocaml
walter|r has quit [Ping timeout: 256 seconds]
darkf has joined #ocaml
gautamc has left #ocaml []
Neros has quit [Read error: Operation timed out]
Neros has joined #ocaml
eikke has quit [Ping timeout: 248 seconds]
emmanuelux has quit [Quit: emmanuelux]
ollehar has quit [Ping timeout: 256 seconds]
talzeus has joined #ocaml
awm22 has joined #ocaml
<SuperNoeMan> is append a tail recursive method on lists?
madroach has quit [Ping timeout: 248 seconds]
awm221 has joined #ocaml
madroach has joined #ocaml
awm22 has quit [Ping timeout: 245 seconds]
chrisdotcode_ has joined #ocaml
chrisdotcode has quit [Ping timeout: 248 seconds]
Drup has quit [Quit: Leaving.]
asmanur has quit [Ping timeout: 252 seconds]
talzeus has quit [Quit: where is the love...]
talzeus has joined #ocaml
fraggle_ has joined #ocaml
<bernardofpc> SuperNoeMan: no, rev_append is
<bernardofpc> and perhaps Batteries has a Tail-Rec version
<bernardofpc> (that holds a dangling pointer and Obj.magic's out the answer)
pkrnj has quit [Quit: Computer has gone to sleep.]
asmanur has joined #ocaml
pkrnj has joined #ocaml
pkrnj has quit [Read error: Connection reset by peer]
awm22 has joined #ocaml
awm221 has quit [Ping timeout: 245 seconds]
vpit3833 has joined #ocaml
ggole has joined #ocaml
talzeus has quit [Remote host closed the connection]
yacks has joined #ocaml
talzeus has joined #ocaml
ollehar has joined #ocaml
ttamttam has joined #ocaml
kaste has quit [Ping timeout: 264 seconds]
Nahra has quit [Remote host closed the connection]
kaste has joined #ocaml
ollehar has quit [Ping timeout: 276 seconds]
jon-shape has quit [Ping timeout: 252 seconds]
jon-shape has joined #ocaml
q66 has joined #ocaml
Yoric has joined #ocaml
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
Watcher7 is now known as Watcher7|off
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
hkBst has joined #ocaml
Vinnipeg has joined #ocaml
Kakadu has joined #ocaml
djcoin has joined #ocaml
Kakadu has quit []
ttamttam has quit [Quit: ttamttam]
zpe has joined #ocaml
Vinnipeg has quit [Quit: Leaving.]
ollehar has joined #ocaml
ttamttam has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
ontologiae has joined #ocaml
eikke has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
ttamttam has quit [Quit: ttamttam]
ollehar has joined #ocaml
mcclurmc has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
ontologiae has joined #ocaml
ollehar has quit [Ping timeout: 268 seconds]
ollehar has joined #ocaml
Tobu has quit [Remote host closed the connection]
mort___ has joined #ocaml
Tobu has joined #ocaml
rwmjones has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
jbrown has joined #ocaml
mcclurmc has quit [Ping timeout: 272 seconds]
Yoric has joined #ocaml
ollehar has quit [Ping timeout: 256 seconds]
raichoo has joined #ocaml
ollehar has joined #ocaml
<wwilly> bonjour
ollehar has quit [Ping timeout: 246 seconds]
<emias> Moin moin.
<ousado> moinsen
dsheets has joined #ocaml
ttamttam has joined #ocaml
mcclurmc has joined #ocaml
Kakadu has joined #ocaml
<dsheets> poor poor firefox committing suicide on pdf loads: "I will now delete my shared objects!"
<darkf> firefox in general is pretty hilarious
<dsheets> oops... my fault -- it uses absolute symbolic links inside its build directory
Drup has joined #ocaml
Drup1 has joined #ocaml
<Kakadu> Who wants to build my QtQuick+OCaml app?
* Kakadu thinks that hand-written ./configure script is well enough
Drup has quit [Ping timeout: 264 seconds]
Drup1 has quit [Ping timeout: 276 seconds]
<Kakadu> wmeyer: AFAIR, u was interesting in it
ollehar has joined #ocaml
ollehar has quit [Read error: Connection reset by peer]
ollehar has joined #ocaml
Drup has joined #ocaml
rwmjones has joined #ocaml
orbitz has quit [Remote host closed the connection]
jewel has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
talzeus has quit [Quit: where is the love...]
_andre has joined #ocaml
dsheets has quit [Ping timeout: 268 seconds]
awm22 has quit [Quit: Leaving.]
dsheets has joined #ocaml
Kakadu has quit [Ping timeout: 256 seconds]
Kakadu_ has joined #ocaml
orbitz has joined #ocaml
beginner42 has joined #ocaml
<beginner42> i have a problem with opam, using opam 1.0.1 when i do eval `opam config -env` i get this result
<beginner42> File /path/.opam/config: Bad format! Expecting a string, got option(string("default"),{string("http://opam.ocamlpro.com") string("curl")}) 'opam config -env' failed.
<beginner42> Does anyone here has an idea how i can fix that?
<orbitz> did you upgrade your opam recently?
<beginner42> i had the same problem with opam 1.0.0, and hoped that an upgrade to 1.0.1 would fix it but didnt help
<dsheets> beginner42, can you pastebin your config?
<beginner42> dsheets: http://pastebin.com/RuiMCGta
<dsheets> beginner42, http://pastebin.com/Z5V10bsT
awm22 has joined #ocaml
<beginner42> dsheets: is that the fix or your config file?
<dsheets> beginner42, that's how yours should look with the same settings under 1.0.1
<dsheets> beginner42, there are additional config options under ~/.opam/repo/default/config that should be set
<dsheets> beginner42, perhaps the easiest thing to do is to reinitialize opam now you've upgraded to 1.0.1
<beginner42> what command?
<dsheets> beginner42, delete ~/.opam then opam init
<dsheets> beginner42, you may wish to export your package list
<beginner42> i changed my config file accordingly, and now it works just fine. is there any need to do an opam init now?
<dsheets> beginner42, does ~/.opam/repo/default/config look like http://pastebin.com/nphs2aD6 (except for the priority)
<beginner42> dsheets: i removed the .opam folder and issued opam init. Now it works
<dsheets> beginner42, excellent, you should now have a guaranteed good state (barring opam defects)
<beginner42> dsheets: thanks a lot. This machine works now, but on another machine i have also some problems with opam
<beginner42> i have a constraint in my _oasis file that i need ospec >= 0.3.0, but when i tell opam to update ospec i get this warning
<beginner42> Cannot update the package ospec because it is not pinned. Only promela is currently pinned.
<dsheets> beginner42, what are you trying to accomplish? what does $ `opam info ospec` say?
<dsheets> erm $ opam info ospec
ontologiae has quit [Ping timeout: 246 seconds]
<beginner42> package: ospec version: 0.3.0 depends: ocamlfind installed-version: ospec.0.3.0 [system 4.00.0] available-version: 0.2.1 description: Behavior-Driven Development tool for OCaml, inspired by RSpec OSpec is a Behavior-Driven Development tool for OCaml, inspired by RSpec, a Ruby BDD library. It is implemented as a Camlp4 syntax extension.
dwmw2_gone is now known as dwmw2
<dsheets> beginner42, so what is the issue? are you developing new things in ospec? you have 0.3.0 installed
adahlberg has joined #ocaml
<beginner42> dsheets: i got some complaints that my ospec version does not fit the constraint >= 0.3.0
<dsheets> beginner42, $ opam switch ? $ which ocamlfind ?
<beginner42> ocamlfind: ~/.opam/4.00.0/bin/ocamlfind
<beginner42> and opam switch tells me that on my system the 4.00.0 is installed
Anarchos has joined #ocaml
<dsheets> beginner42, so when do you get these ospec version constraint complaints?
<beginner42> i am working on a new update for an opam package, and when i do a make command i got this constraint complaint. But right now i cant reproduce it because my source code doesnt compile
<dsheets> hmm... if it happens again, come back. for now, remember to run $ oasis setup after updating _oasis
<beginner42> dsheets: i will, and thanks again for your help :)
<dsheets> beginner42, you're welcome. happy trails
rwmjones has quit [Read error: Operation timed out]
smondet has joined #ocaml
Kakadu_ has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
cdidd has quit [Ping timeout: 245 seconds]
rwmjones has joined #ocaml
mattrepl has joined #ocaml
ontologiae has joined #ocaml
<bobry> Anyone here using argot with oasis?
<bobry> ocamlbuild plugins from the manual doesn't seem to work http://argot.x9c.fr/manual.html
<bobry> ocamlbuild fails to find 'argot.cmo', even though argot is visible via findlib
gnuvince- has joined #ocaml
gnuvince has quit [Ping timeout: 264 seconds]
dsheets has quit [Ping timeout: 258 seconds]
awm221 has joined #ocaml
<gasche> bobry: I believe you should *also* use -use-ocamlfind and then pkg(argot)
<gasche> (I have never tested this combination, only just had a look at the ocamlbuild plugin you're talking about)
awm22 has quit [Ping timeout: 260 seconds]
jpdeplaix has quit [Ping timeout: 272 seconds]
gnuvince- has quit [Ping timeout: 245 seconds]
breakds has joined #ocaml
madroach has quit [Quit: leaving]
Snark has joined #ocaml
madroach has joined #ocaml
gnuvince- has joined #ocaml
wagle has quit [Remote host closed the connection]
Neros has quit [Remote host closed the connection]
Neros has joined #ocaml
jewel has quit [Quit: Leaving]
beginner42 has quit [Ping timeout: 264 seconds]
gnuvince- has quit [Remote host closed the connection]
wagle has joined #ocaml
gnuvince- has joined #ocaml
gnuvince- is now known as gnuvince
breakds has quit [Quit: Konversation terminated!]
raichoo has quit [Quit: leaving]
wwilly has quit [Remote host closed the connection]
breakds has joined #ocaml
awm221 has quit [Quit: Leaving.]
adahlberg has quit [Remote host closed the connection]
Yoric has quit [Ping timeout: 258 seconds]
hkBst has quit [Quit: Konversation terminated!]
awm22 has joined #ocaml
Drup has quit [Ping timeout: 248 seconds]
travisbrady has joined #ocaml
Drup has joined #ocaml
gnuvince has quit [Ping timeout: 245 seconds]
Snark has quit [Read error: Operation timed out]
darkf has quit [Quit: Leaving]
awm221 has joined #ocaml
awm22 has quit [Ping timeout: 260 seconds]
Snark has joined #ocaml
ollehar has joined #ocaml
jamii has joined #ocaml
awm221 has quit [Quit: Leaving.]
ollehar has quit [Ping timeout: 256 seconds]
awm22 has joined #ocaml
awm221 has joined #ocaml
chrisdotcode has joined #ocaml
chrisdotcode_ has quit [Ping timeout: 248 seconds]
awm22 has quit [Ping timeout: 256 seconds]
ollehar has joined #ocaml
dsheets has joined #ocaml
ttamttam has quit [Quit: ttamttam]
Watcher7|off is now known as Watcher7
jpdeplaix has joined #ocaml
smondet has quit [Remote host closed the connection]
smondet has joined #ocaml
SanderM has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
Yoric has joined #ocaml
pkrnj has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
smondet` has joined #ocaml
AdmWiggin has quit [Write error: Broken pipe]
rwmjones has quit [Read error: Operation timed out]
smondet has quit [Read error: Connection reset by peer]
rwmjones has joined #ocaml
tianon has joined #ocaml
ollehar has joined #ocaml
chrisdotcode has quit [Remote host closed the connection]
Kakadu has quit []
Drup has quit [Ping timeout: 264 seconds]
Drup has joined #ocaml
breakds has quit [Quit: Konversation terminated!]
jpdeplaix has quit [Read error: Operation timed out]
jpdeplaix` has joined #ocaml
eikke has quit [Ping timeout: 246 seconds]
<wmeyer> hi
<pippijn> hi
Yoric has joined #ocaml
mcclurmc has quit [Ping timeout: 245 seconds]
<wmeyer> pippijn: hi
gnuvince has joined #ocaml
jamii has quit [Ping timeout: 256 seconds]
ollehar has quit [Ping timeout: 256 seconds]
ollehar has joined #ocaml
mort___ has quit [Ping timeout: 276 seconds]
Neros has quit [Ping timeout: 245 seconds]
eikke has joined #ocaml
Kakadu has joined #ocaml
ollehar has quit [Ping timeout: 258 seconds]
rwmjones has quit [Ping timeout: 256 seconds]
<bobry> is there a reading list on OCaml compiler somewhere? I'm looking for something similar to what GHC has: http://hackage.haskell.org/trac/ghc/wiki/ReadingList
<wmeyer> you can try ocaml platform list, maybe not entirelly a devel list but source of interesting discussions
<smondet`> bobry: http://ocaml.org/papers.html ?
<bobry> smondet`: perfect, thank you
<wmeyer> I think I am tired, smondet` link looks very interesting, thanks
rwmjones has joined #ocaml
Neros has joined #ocaml
yacks has quit [Quit: Leaving]
jpdeplaix` has quit [Quit: WeeChat 0.3.9.2]
yacks has joined #ocaml
jpdeplaix has joined #ocaml
Drup has quit [Ping timeout: 258 seconds]
ollehar has joined #ocaml
raichoo has joined #ocaml
pkrnj has quit [Ping timeout: 264 seconds]
ulfdoz has joined #ocaml
gautamc has joined #ocaml
ollehar has quit [Quit: ollehar]
ttamttam has joined #ocaml
ggole has quit []
Nahra has joined #ocaml
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
dsheets has quit [Ping timeout: 248 seconds]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
Drup has joined #ocaml
stomp has quit [Ping timeout: 252 seconds]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
stomp has joined #ocaml
jpdeplaix has joined #ocaml
pkrnj has joined #ocaml
jonafan has quit [Read error: Operation timed out]
jonafan has joined #ocaml
pkrnj has quit [Read error: Operation timed out]
dsheets has joined #ocaml
awm221 has quit [Quit: Leaving.]
awm22 has joined #ocaml
Watcher7 is now known as Watcher7|off
jonafan has quit [Ping timeout: 276 seconds]
Watcher7|off is now known as Watcher7
jonafan has joined #ocaml
Anarchos has quit [Ping timeout: 268 seconds]
ttamttam has left #ocaml []
_andre has quit [Quit: leaving]
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
ulfdoz has quit [Ping timeout: 245 seconds]
Armael is now known as coproduit
tianon has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
mcclurmc has joined #ocaml
raichoo has quit [Quit: leaving]
sea6ear has joined #ocaml
Neros has quit [Ping timeout: 268 seconds]
emmanuelux has joined #ocaml
jbrown has quit [Ping timeout: 245 seconds]
Neros has joined #ocaml
pkrnj has joined #ocaml
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
zpe has quit [Remote host closed the connection]
osnr has quit [Quit: Leaving.]
Snark has quit [Quit: leaving]
meretrix has quit [Ping timeout: 272 seconds]
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
SanderM has quit [Remote host closed the connection]
Kakadu has quit []
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
smondet` has quit [Ping timeout: 252 seconds]
jpdeplaix has quit [Client Quit]
osnr has joined #ocaml
osnr has quit [Changing host]
osnr has joined #ocaml
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
jpdeplaix has joined #ocaml
osnr has quit [Quit: Leaving.]
jpdeplaix has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
jpdeplaix has quit [Client Quit]
travisbrady has quit [Quit: travisbrady]
djcoin has quit [Quit: WeeChat 0.3.9.2]
jpdeplaix has joined #ocaml
awm22 has quit [Quit: Leaving.]
pkrnj has quit [Quit: Computer has gone to sleep.]
awm22 has joined #ocaml
awm221 has joined #ocaml
awm22 has quit [Ping timeout: 252 seconds]
cdidd has joined #ocaml
ontologiae has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
darkf has joined #ocaml
gnuvince has quit [Ping timeout: 258 seconds]
Anarchos has joined #ocaml
tobiasBora has joined #ocaml
<tobiasBora> Hello,
<tobiasBora> I'd like to use an ogg library to read ogg files in my program. I've installed lib-ogg-dev with synaptic, and know I've a problem with the calling of function.
<tobiasBora> This is the file /usr/lib/ocaml/ogg/ogg.mli
maurer has left #ocaml []
<tobiasBora> I tried differents way to load the librairy and the only one which doesn't give my error is :
<tobiasBora> #load "/usr/lib/ocaml/ogg/ogg.cma";;
<tobiasBora> However when I try to use functions from this library I've errors :
<tobiasBora> let (stream_t, file_descriptor) = Sync.create_from_file file_name;;
<tobiasBora> let (stream_t, file_descriptor) = Sync.create_from_file file_name;;
<tobiasBora> oups
<tobiasBora> Error: Unbound module Sync
<tobiasBora> I tried differents module name and it's always the same problem.
<tobiasBora> Any idea ?
<tobiasBora> (And if you have a way to list all libraries available directly with #load "name.cma", could you tell me please ?
<tobiasBora> )
<Anarchos> tobiasBora no idea
<dsheets> tobiasBora, Ogg.Sync.create_from_file ?
<tobiasBora> Anarchos: Ok thanks.
<tobiasBora> dsheets: I tried but same error : Error: Unbound module Ogg
<tobiasBora> But I think it's strange that I need to write the total path to the file library... Why Ocaml doesn't know this library ? Should I "refresh" the ocaml library list ?
<dsheets> tobiasBora, you should use ocamlfind (and, preferably, opam)
<dsheets> this library works for me after $ sudo apt-get install libogg-dev and $ opam install ogg
ontologiae has quit [Ping timeout: 268 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
<tobiasBora> dsheets: I don't have opam installed, and it's not in the repository
<dsheets> tobiasBora, ah, it is coming soon to testing now that wheezy is out
<dsheets> tobiasBora, the package from http://opam.ocamlpro.com/ works well
<dsheets> tobiasBora, does $ ocamlfind query ogg show you the path?
<tobiasBora> dsheets: I've the path of the directory : "/usr/lib/ocaml/ogg" but not the files
<dsheets> tobiasBora, in toplevel: #use "topfind";; #require "unix";; #require "ogg";; probably on separate lines
<tobiasBora> dsheets: it seems to be better... I've no errors and now I've this message :
<tobiasBora> /usr/lib/ocaml/ogg: added to search path
<tobiasBora> /usr/lib/ocaml/ogg/ogg.cma: loaded
<tobiasBora> What did you do ?
<tobiasBora> And know it works in my program !
<dsheets> tobiasBora, uhhh... were you not getting an error about Unix not being loaded before?
<tobiasBora> /s/know/now...
<tobiasBora> dsheets: No... no error for each line, just "loaded"
pkrnj has joined #ocaml
<tobiasBora> Why ? I should have errors ?
<dsheets> tobiasBora, hmm... I got an error about unix not being loaded but when i loaded unix then ogg, i got no errors and the scope wasn't working
<dsheets> tobiasBora, but i can't recall the proper way to do this any more because i use topfind all the time
<tobiasBora> what does topfind do ?
<dsheets> tobiasBora, topfind is ocamlfind's toplevel interface
<tobiasBora> Oh indeed I've error when I load first ogg
<dsheets> tobiasBora, ocamlfind is an ocaml library search path manager essentially
gnuvince has joined #ocaml
<tobiasBora> And what's the difference between load, use, require... ?
<tobiasBora> And why doesn't it work when I load the full path of the cma file ?
gnuvince has quit [Ping timeout: 248 seconds]
chrisdotcode has joined #ocaml
mcclurmc has quit [Ping timeout: 248 seconds]