Alpounet changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
alp_ has joined #ocaml
Alpounet has quit [Read error: 60 (Operation timed out)]
joewilliams has joined #ocaml
demitar has quit ["Ex-Chat"]
johnnowak has quit []
avsm has quit ["Leaving."]
ikaros_ has quit ["Leave the magic to Houdini"]
joewilliams has quit [Remote closed the connection]
eldragon has left #ocaml []
_unK has quit [Remote closed the connection]
joewilliams has joined #ocaml
joewilliams has quit [Remote closed the connection]
CcSsNET has joined #ocaml
yakischloba has joined #ocaml
Pimm has quit [Read error: 110 (Connection timed out)]
johnnowak has joined #ocaml
deco has joined #ocaml
deco has left #ocaml []
tmaeda0 is now known as tmaedaZ
tmaedaZ is now known as tmaeda0
Associat0r has joined #ocaml
Associat0r has quit []
det has quit [Read error: 110 (Connection timed out)]
thrasibule has quit [Client Quit]
thrasibule has joined #ocaml
flux has quit [Remote closed the connection]
Nex3 has joined #ocaml
Nex3 has left #ocaml []
joewilliams has joined #ocaml
Submarine has joined #ocaml
joewilliams has quit [Remote closed the connection]
Submarine_ has joined #ocaml
Associat0r has joined #ocaml
Submarine_ has quit ["Leaving"]
Associat0r has quit []
johnnowak has quit []
yakischloba has quit ["Leaving."]
BigJ has quit ["Leaving"]
flux has joined #ocaml
Pimm has joined #ocaml
demitar has joined #ocaml
ygrek has joined #ocaml
Modius has quit [Read error: 110 (Connection timed out)]
avsm has joined #ocaml
_zack has joined #ocaml
det has joined #ocaml
_unK has joined #ocaml
rwmjones_lptp has joined #ocaml
rwmjones_lptp has quit [Remote closed the connection]
_zack has quit ["Leaving."]
ikaros has joined #ocaml
sramsay has joined #ocaml
Yoric has joined #ocaml
ttamttam has joined #ocaml
avsm has quit ["Leaving."]
Yoric has quit [Read error: 110 (Connection timed out)]
avsm has joined #ocaml
ttamttam has quit ["Leaving."]
avsm has quit ["Leaving."]
Yoric has joined #ocaml
<[df]> how do I make modules in /usr/local/lib/ocaml/ available to ocaml? (specifically, the llvm modules that I've compiled from source)
<ygrek> pass -I /usr/loca/lib/ocaml/dir/ or make ocamlfind do it for you
<[df]> I've tried moving them into /usr/local/lib/ocaml/3.11.1/, which is configured in /etc/ocamlfind.conf on debian, but no luck
<[df]> -I works though, thanks
<ygrek> generally, installing with `ocamlfind install` will ensure that ocamlfind will be eable to find these modules later
TaXules has quit [Read error: 54 (Connection reset by peer)]
sgnb has quit [Read error: 54 (Connection reset by peer)]
sgnb has joined #ocaml
sgnb has quit [Read error: 54 (Connection reset by peer)]
sgnb has joined #ocaml
Narrenschiff has joined #ocaml
alp_ has quit [Client Quit]
Submarine has quit [Remote closed the connection]
ksson has joined #ocaml
ttamttam has joined #ocaml
sgnb has quit [Remote closed the connection]
sgnb has joined #ocaml
Narrenschiff has quit []
Pimm has quit [Read error: 110 (Connection timed out)]
Pimm has joined #ocaml
Alpounet has joined #ocaml
TaXules has joined #ocaml
vpalle has joined #ocaml
Alpounet has quit [Read error: 113 (No route to host)]
RLa has joined #ocaml
vpalle has quit ["Leaving"]
ikaros_ has joined #ocaml
ulfdoz has quit ["deprecated"]
<Leonidas> gildor: how do you solve package installs via ocamlfind install in deb packages?
<Leonidas> it tries to write into a ld.conf, but that is unfortunate since I'd need to write a postinstall/preremove hook to do that.
<RLa> i have found out that only sane way to install ocaml packages is to use godi
vpalle has joined #ocaml
<Camarade_Tux> the reason is that godi integrates strongly with ocaml, it's only apparent
ikaros has quit [Read error: 110 (Connection timed out)]
Submarine has joined #ocaml
Submarine_ has joined #ocaml
Submarine_ has quit [Client Quit]
ulfdoz has joined #ocaml
Narrenschiff has joined #ocaml
<sgnb> Leonidas: -ldconf ignore
<sgnb> (for example)
<sgnb> RLa: do you have some concrete, constructive reproach to make against OCaml-related packages in Debian?
Narrenschiff has quit []
Narrenschiff has joined #ocaml
Narrenschiff has quit [Client Quit]
Alpounet has joined #ocaml
fusss has joined #ocaml
<fusss> quick question. Does the ocaml compiler compile the classic "Caml" sources?
<fusss> never mind, I am guessing Caml Light is the Caml compiler
<fusss> and I am not sure if Caml Light is SML compatible (last I checked, > 8 years ago, they were different languages)
<Camarade_Tux> I doubt they are
<Camarade_Tux> (compatible)
<RLa> hm
slash_ has joined #ocaml
ikaros_ has quit ["Leave the magic to Houdini"]
ikaros has joined #ocaml
tmaeda0 is now known as tmaedaZ
CcSsNET has quit [Read error: 110 (Connection timed out)]
munga has joined #ocaml
slash_ has quit [Client Quit]
yakischloba has joined #ocaml
yakischloba has quit [Client Quit]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
sramsay has quit ["Leaving"]
munga has quit [Read error: 113 (No route to host)]
yakischloba has joined #ocaml
fusss has quit [Read error: 104 (Connection reset by peer)]
_zack has joined #ocaml
yakischloba has quit ["Leaving."]
Alpounet has quit [Read error: 113 (No route to host)]
Alpounet has joined #ocaml
avsm has joined #ocaml
Submarine has quit ["Leaving"]
alp has joined #ocaml
det has quit [Read error: 104 (Connection reset by peer)]
itewsh has joined #ocaml
det has joined #ocaml
Alpounet has quit [Read error: 113 (No route to host)]
CcSsNET has joined #ocaml
alp has quit [Client Quit]
CcSsNET has quit [Remote closed the connection]
_zack has quit ["Leaving."]
K-Yo_ has joined #ocaml
Alpounet has joined #ocaml
<K-Yo_> hello, I would like to map a function to an array, but this function creates another array, is there a function to change the values of the array I'm giving in argument?
CcSsNET has joined #ocaml
<peper> is there a function to remove duplicates from a sorted list?
ygrek has quit [Remote closed the connection]
alp has joined #ocaml
Alpounet has quit [Nick collision from services.]
jeddhaberstro has joined #ocaml
alp has quit [Client Quit]
alp has joined #ocaml
Alpounet has joined #ocaml
alp has quit [Read error: 54 (Connection reset by peer)]
RLa has quit ["Leaving"]
Alpounet has quit [Read error: 113 (No route to host)]
<Leonidas> sgnb: I guess I could surpress editing the ld config, but then I have to call it on install-time, right?
<ksson> peper: not that i know of, but i guess you can write one easily
<ksson> K-Yo_: could you give the type of the function you would like to write / have?
<ksson> something like (int -> 'a) -> 'a array -> unit?
M| has quit ["leaving"]
slash_ has joined #ocaml
Alpounet has joined #ocaml
<sgnb> Leonidas: could you give more context?
<sgnb> in Debian packages, we usually install things in a directory listed in ld.conf
<sgnb> (/usr/lib/ocaml/stublibs)
<sgnb> ocaml also looks in /usr/local/lib/ocaml/<version>/stublibs
<sgnb> so there is no ld config stuff to do at install-time
<Leonidas> sgnb: well, the current problem is that ocamlfind install appends to ld.conf and pacman does not have a concept of "append to file"
<sgnb> Leonidas: what is pacman?
<Leonidas> sgnb: package manager in arch linux where I am trying to build a package.
<sgnb> Leonidas: if the stublibs dir exists, ocamlfind install will install stublibs there and won't edit ld.conf
<sgnb> ah, ok
<Leonidas> hmm, this sounds much better.
<sgnb> (and there won't be any need to edit ld.conf at install-time)
<Leonidas> great, that's exactly what I was looking for -- thanks for pointing me at this.
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: 60 (Operation timed out)]
ulfdoz_ is now known as ulfdoz
ikaros has quit ["Leave the magic to Houdini"]
lagenar has joined #ocaml
ikaros has joined #ocaml
<K-Yo_> ksson: sorry, I was AFK. Yes, I'd like to have ('a -> 'b) -> 'a array -> unit
<K-Yo_> (not a functino that depends on the index, but that depends on the value that's already in)
Yoric has quit []
<peper> hmm
<peper> how can i print a list? :)
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
<K-Yo_> peper: I think you need to build the function yourself
<Leonidas> peper: given that the list is sorted, re-creating such a function is trivial :)
<Leonidas> (oh sorry, I answered your previous question, that one about the duplicates)
ttamttam has quit ["Leaving."]
avsm has quit ["Leaving."]
<ksson> K-Yo_: ah, you would like to have an Array.in_place_map
<ksson> let in_place_map f a = Array.iteri (fun i x -> a.(i) <- f x) a
<ksson> but it has the type ('a -> 'a ) -> 'a array -> unit
<ksson> as you can't change the type of an array
munga has joined #ocaml
<Leonidas> Camarade_Tux: http://www.reddit.com/r/technology/comments/anjre/usb_30_superspeed/c0iiqs2 <- you probably mean "older", not younger :)
ksson has quit ["leaving"]
M| has joined #ocaml
vpalle has quit ["Leaving"]
slash_ has quit [Client Quit]
joewilliams has joined #ocaml
joewilliams has quit [Remote closed the connection]
joewilliams has joined #ocaml
<peper> Leonidas: yeah i know, but i prefer to use stdlib where i can
joewilliams has quit [Remote closed the connection]
lagenar has quit ["Saliendo"]
Pimm has quit [Read error: 110 (Connection timed out)]
demitar has quit ["Ex-Chat"]
munga has quit ["Ex-Chat"]