gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
ulfdoz has quit [Ping timeout: 260 seconds]
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 272 seconds]
boscop_ has left #ocaml []
boscop has joined #ocaml
sepp2k1 has quit [Quit: Leaving.]
joewilliams_away is now known as joewilliams
metasyntax has joined #ocaml
verte has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
JimmyRcom has left #ocaml []
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
ygrek has joined #ocaml
ASpiwack has quit [Ping timeout: 272 seconds]
ASpiwack has joined #ocaml
joewilliams is now known as joewilliams_away
ASpiwack has quit [Ping timeout: 272 seconds]
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 240 seconds]
ASpiwack has joined #ocaml
jakedouglas has joined #ocaml
ASpiwack has quit [Ping timeout: 240 seconds]
ASpiwack has joined #ocaml
Amorphous has quit [Ping timeout: 245 seconds]
ASpiwack has quit [Ping timeout: 276 seconds]
ASpiwack has joined #ocaml
Amorphous has joined #ocaml
nomoon has joined #ocaml
nomoon has left #ocaml []
jakedouglas has quit [Quit: Leaving.]
ulfdoz has joined #ocaml
ASpiwack has quit [Read error: Operation timed out]
ASpiwack has joined #ocaml
ASpiwack has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
ASpiwack has joined #ocaml
coucou747 has quit [Quit: 0x2a]
* Anarchos is idle: gone to shower
<sgnb> whois Anarchos
<sgnb> oops
<julm> Anarchos is idle :P
<Anarchos> no i am here now
coucou747 has joined #ocaml
vpalle_ has joined #ocaml
vpalle__ has joined #ocaml
vpalle_ has quit [Ping timeout: 265 seconds]
vpalle__ has quit [Ping timeout: 276 seconds]
iratsu has quit [Read error: Operation timed out]
iratsu has joined #ocaml
iratsu has quit [Ping timeout: 240 seconds]
iratsu has joined #ocaml
ikaros has joined #ocaml
Yoric has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ftrvxmtrx has quit [Ping timeout: 255 seconds]
ftrvxmtrx has joined #ocaml
ikaros has joined #ocaml
<adrien> hi, is anyone aware of a change in ocamldep's output in 3.12? it makes ocamldsort fail (it parses ocamldep's output)
init1 has joined #ocaml
<init1> hi
<adrien> hi init1
<sgnb> adrien: I heard about it
<sgnb> there has been a new release of ocamldsort to fix that
Smerdyakov has joined #ocaml
<adrien> sgnb: ah, ok, good, thanks
<adrien> I only wish there was an easy way to change version numbers in godi =/
<adrien> I'll wait a bit, it'll do for now =)
<sgnb> (I don't know where is upstream page, though... but the new version is there: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamldsort/upstream/ocamldsort_0.15.0.orig.tar.gz
<sgnb> ah, ok... it should be documented in the Debian package
<adrien> I'll build the newer version and put it in my own path, I'll see for godi later on
<sgnb> done
oriba has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
oriba has quit [Ping timeout: 240 seconds]
_unK has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
iratsu has quit [Ping timeout: 258 seconds]
iratsu has joined #ocaml
sepp2k has joined #ocaml
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
Anarchos has quit [Quit: kids need attention]
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
iago has joined #ocaml
v1sor has joined #ocaml
v1sor has left #ocaml []
LinkRage has joined #ocaml
<LinkRage> "Error: Cannot find file /usr/local/lib/ocaml/site-lib/netclient/netclient.cmxa" I've just installed ocamlnet-3.0.0 from source on freebsd 8.1 but the only similar filename I have actually is "netclient.cma"
<LinkRage> I see that error when I try building 3rd party app
<LinkRage> do you have any suggestions please, creating symlink netclient.cmxa -> netclient.cma generates: Error: The file netclient.cmxa is not a compilation unit description
<adrien> LinkRage: you don't have the native code libraries for ocamlnet, typically, 'make opt'
<LinkRage> I see
<LinkRage> ok thank you
<LinkRage> yes I noticed 'make opt' but I didn't know I would need it
<LinkRage> adrien, thanks. I'll recompile it etc.
<adrien> "opt", because it is created with "ocamlopt"
<LinkRage> I see
<LinkRage> I'm pretty new to everything ocaml related as you can see.
<LinkRage> and I would like to thank you guys because here is this chan you are helping me out for the 2nd time, no matter I'm not ocaml developer etc. So thank all again. Great community.
<adrien> heh =)
<LinkRage> no, seriously ! I'm happy meet such people :)
<gildor> LinkRage: if it is not secret, what are you compiling as a 3rd party app?
ygrek has quit [Ping timeout: 245 seconds]
<LinkRage> gildor, liquidsoap is the app that's based on ocaml
<gildor> ok
<gildor> nice ap
<gildor> p
SEcki has joined #ocaml
<LinkRage> it's a grated app for netradios and I think ocamls is also great since I see the great features liquidsoap has
<LinkRage> great* ; yep :)
<gildor> ;-)
<gildor> hope you are right! (well I do think so, but I hope more people will think like you in the future ;-)
<LinkRage> cool I just recompiled ocamlnet and now last.fm submitting seem to be working fine :)
<LinkRage> I:)
<adrien> LinkRage: is there any reason you're trying with ocamlnet 3 so quickly?
<LinkRage> that's the version I found as higher number - no any specific reason ;)
<gildor> (ocamlnet 3.0 is a long awaited version, there are maybe still some bugs in it)
<adrien> ah, ok, I was wondering because it was released very recently (few days?)
<LinkRage> hm, so I shoul use the old 2.2 or something you're saying
<LinkRage> I think I would do that then
<gildor> LinkRage: well if you hit a bug, report and go back to 2.2 ;-)
<adrien> exactly :-)
<gildor> hopefully, you won't be able to discover one
<gildor> (and get the speed increase of ocamlnet 3.0)
joewilliams is now known as joewilliams_away
<LinkRage> I hope so. I'm finally building a production server for my future radio so I hope that no bugs would be found :)
<LinkRage> gildor, 10x for the note in () :)
<LinkRage> because I just started tar zxvf ocamlnet-2.2.9.tar.gz :D but ok I'll use 3.0 then :)
<gildor> I think the speed increase will vary from an OS to the other, I am not sure FreeBSD will get as much as Linux
<LinkRage> I agree
vpalle__ has joined #ocaml
<LinkRage> but as far as I know the only think ocamlnet is needed for here in liquidsoap in my case is submitting last player & currently playing tracks to lasf.fm - so if it works, but it's slow - not a big issue at all :)
<adrien> speed increase regarding what?
<adrien> LinkRage: also, there's 3.0.1 which solves two 3.0.0. bugs
<gildor> AIO for example
ygrek has joined #ocaml
<LinkRage> I don't know I was just saying that the only reason I'm using ocamlnet is submitting to last.fm :)
<LinkRage> ok 10x
<adrien> oh, right
<adrien> as far as I'm concerned, I'm after the camlboxes (fast exchange of data between ocaml processes) =)
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
vpalle__ has quit [Ping timeout: 255 seconds]
uho_ has joined #ocaml
Yoric has quit [Ping timeout: 252 seconds]
<uho_> Anybody know why this expected type is unit and not int? http://codepad.org/ZaviisLp
_unK has joined #ocaml
<gildor> uho_: you need a final else clause
<uho_> ah, thanks!
<gildor> BTW "==" is physical equality, in this case "=" is enough
Modius_ has quit [Quit: I'm big in Japan]
Modius has joined #ocaml
<uho_> I'll keep that in mind. it works in this case though right?
vpalle__ has joined #ocaml
<uho_> sorry for the nooby questions, just started learning ocaml today haha
<adrien> uho_: for integers, = and == are the same but that's an exception to the general rule
Smerdyakov has joined #ocaml
Smerdyakov has quit [Client Quit]
smimou has joined #ocaml
Anarchos has joined #ocaml
alpounet has quit [Ping timeout: 255 seconds]
alpounet has joined #ocaml
vpalle__ has quit [Ping timeout: 240 seconds]
verte has quit [Quit: ~~~ Crash in JIT!]
<uho_> I'm trying to get this function to return a pair of lists but it is expecting a different type
<uho_> any ideas?
<adrien> the '[] -> ([], [])' shows that your function returns a (list * list)
<adrien> also, get_left should be written 'let get_left (a, b) = a'
<adrien> but get_left is also 'fst' which is in the standard library ;-)
<adrien> I'm not sure what you want to do but you probably want to write: | x :: xs -> let q = unzip xs in (fst x :: (fst (unzip q))), (snd x :: (snd (unzip q)))
<adrien> (with more parens than needed btw)
<uho_> (fst x :: (fst (unzip (unzip xs))) <= I don't really understand this :/
<uho_> why unzip (unzip xs)?
<adrien> argh, I meant: (fst x :: fst q) (and same for snd)
<adrien> sorry
joewilliams_away is now known as joewilliams
<thelema> | (a,b) :: xs -> let atl,btl = unzip xs in (a::atl),(b::btl)
<adrien> right, better that way
<uho_> ah, that makes much more sense
<uho_> thanks thelema
<thelema> n/p
<uho_> why didn't I see that.. haha
<thelema> the power of pattern matching
<thelema> now the next step is to write it w/ tail recursion
<Anarchos> thelema accumulator ?
<thelema> Anarchos: exactly
<MarcWeber> Can I derive Show for a custom set using deriving ?
<gildor> Anarchos, thelema: w/ tail recursion depends on the size of your input
<gildor> i.e. if the input list is small, there is no need to complicate the function with an acc
<thelema> gildor: of course
Smerdyakov has joined #ocaml
<Anarchos> no expert of Systhreads herer ?
jakedouglas has joined #ocaml
<flux> gildor, the problem is that sometimes you guess wrong :)
smimou has quit [Quit: bli]
SEcki has quit [Ping timeout: 265 seconds]
drunK has joined #ocaml
_unK has quit [Ping timeout: 276 seconds]
smimou has joined #ocaml
Edward has joined #ocaml
chee has joined #ocaml
init1 has quit [Quit: Quitte]
Yoric has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
drunK is now known as _unK
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
omfgwtf has joined #ocaml
thelema_ has joined #ocaml
sgnb has left #ocaml []
sgnb has joined #ocaml
Yoric has quit [*.net *.split]
chee has quit [*.net *.split]
uho_ has quit [*.net *.split]
coucou747 has quit [*.net *.split]
thelema has quit [*.net *.split]
thomasga has quit [*.net *.split]
mal`` has quit [*.net *.split]
maharba has quit [*.net *.split]
Yoric_ has joined #ocaml
coucou747 has joined #ocaml
chee has joined #ocaml
thomasga has joined #ocaml
maharba has joined #ocaml
maharba has left #ocaml []
joewilliams is now known as joewilliams_away
ygrek has quit [Remote host closed the connection]
oriba has joined #ocaml
vpalle has joined #ocaml
mal`` has joined #ocaml
vpalle has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
Yoric_ has quit [Quit: Yoric_]
teiresias has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
verte has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 264 seconds]
smimou has quit [Quit: bli]
ikaros has quit [Quit: Leave the magic to Houdini]
kaustuv has quit [Read error: Operation timed out]
kaustuv has joined #ocaml
vpalle has joined #ocaml
LinkRage has quit [Quit: Leaving]
oriba has left #ocaml []
joewilliams_away is now known as joewilliams