cjeris changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
pedro_soc has joined #ocaml
pedro__ has quit [Read error: 110 (Connection timed out)]
ulfdoz has quit [Read error: 113 (No route to host)]
ulfdoz_ has joined #ocaml
malc_ has quit ["leaving"]
pantsd has joined #ocaml
beschmi has quit [Read error: 110 (Connection timed out)]
mnemonic has quit ["leaving"]
benny has joined #ocaml
benny_ has quit [Read error: 60 (Operation timed out)]
Mr_Awesome has joined #ocaml
sourcerror has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
the_dormant has joined #ocaml
Mr_Awesome has quit ["...and the Awesome level drops"]
ramkrsna has joined #ocaml
bluestorm_ has joined #ocaml
pstickne_ has joined #ocaml
pstickne_ has quit [Read error: 104 (Connection reset by peer)]
pantsd has quit ["Leaving."]
the_dormant has quit []
_blackdog has quit [Read error: 60 (Operation timed out)]
_blackdog has joined #ocaml
Demitar has quit [Read error: 113 (No route to host)]
jlouis has quit [Remote closed the connection]
love-pingoo has joined #ocaml
bluestorm_ has quit [Remote closed the connection]
<kelaouchi> are there any tools for cross compilation ?
mikeX has joined #ocaml
beschmi has joined #ocaml
G_ has joined #ocaml
G has quit [Nick collision from services.]
G_ is now known as G
steele__ has joined #ocaml
beschmi has quit [Read error: 110 (Connection timed out)]
steele__ is now known as beschmi
beschmi has quit ["Leaving"]
Sparkles has joined #ocaml
Submarine has quit [Remote closed the connection]
_blackdog has quit [Connection timed out]
ygrek has joined #ocaml
_blackdog has joined #ocaml
postalchris has joined #ocaml
pedro_soc has quit [Client Quit]
<kelaouchi> any idea ?
postalchris has quit [Read error: 110 (Connection timed out)]
<kelaouchi> anybody using bmktrans ?
<kelaouchi> seems that it constructs tree from an only html file
<kelaouchi> i am looking for a way to build it from a set of files...
Sparkles has quit [Read error: 110 (Connection timed out)]
malc_ has joined #ocaml
postalchris has joined #ocaml
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
LeCamarade has joined #ocaml
<LeCamarade> Is there a library that enables me to handle strings as litsts? I really miss being able to map, fold, filter, drop and so on in a string.
<flux> the common (?) approach is to implement functions string -> char list and char list -> string
<LeCamarade> flux: Okay, but I wonder how the speed is. That's what I've been doing.
<flux> well, if you're going to do lots of list-like operations, I doubt it'll hurt much
<flux> creating a new string involves copying also
* LeCamarade knows lists to be slow. And yet OCaml is working for speed, here.
<LeCamarade> flux: And I get to pattern-match! :oD Love it.
<LeCamarade> flux: Yeah, but I trust OCaml's optimisations well enough to do silly things with strings knowing it won't rot on me.
<LeCamarade> Yet I think they emphasise the [||] in OCaml, because they are essentially saying [] is slow.
<LeCamarade> And string as string and not [char] for speed.
<LeCamarade> Still, I am a Worse is Better guy, so let's roll. :oD
pango_ has quit [Remote closed the connection]
<kelaouchi> # quit ;;
<kelaouchi> Unbound value quit
<kelaouchi> what's the problem ?
pango_ has joined #ocaml
<kelaouchi> using interactive mode
<LeCamarade> kelaouchi: Maybe you want exit 0;;
<kelaouchi> exit 0;; works yes
<kelaouchi> but not quit ;;
<kelaouchi> why ?
<LeCamarade> quit isn't not bound - that's why.
<LeCamarade> It's unknown.
<LeCamarade> let quit = exit;; Then, it will work. :oD
<kelaouchi> but it is the way i see in manual to quit interactive mode
<LeCamarade> Which page?
<kelaouchi> no LeCamarade, let quit = exit;; quit;; doesn't work neither
<kelaouchi> i use ocaml-3.09.3
<flux> after let quit = exit quit 0 will work
<LeCamarade> I mean, quit is not defined. let quit = exit in quit 0;;
<LeCamarade> Or let quit = exit 0 in quit;;
<kelaouchi> ok i understand what you mean
<LeCamarade> I'm checking it out.
<LeCamarade> kelaouchi: Ah! Francophone!
<LeCamarade> :oD
<LeCamarade> Salut!
<kelaouchi> oui
<kelaouchi> salut
<kelaouchi> indulgence !
<kelaouchi> je debute de chez debute
<LeCamarade> Il s'est trompée, là. quit n'exite pas. C'est exit.
<kelaouchi> je me disais aussi : avec un nick pareil...
<kelaouchi> ou la bah ca commence mal alors la lecture de ce livre :/
<kelaouchi> mais le probleme c'est que je l'ai vue enoncee partout cette facon de sortir de la boucle interactive
<LeCamarade> kelaouchi: Oui, je comprendre, mais les autres parts sont bon. Aussi, vous pouvez lire le vrai livre de INRIA.
<kelaouchi> le vrai ?
<kelaouchi> en francais ?
<LeCamarade> Il y a un PDF là.
<LeCamarade> C'est écrit par les orginateurs de la langage.
<kelaouchi> oui je vois
<LeCamarade> Oui.
<kelaouchi> mais c'est en anglais :/
G_ has joined #ocaml
<kelaouchi> mon anglais n'est pas suffisament bon je crois pour m'attaquer a la lecture de ce lien :/
<LeCamarade> Moi, j'utilise un PDF. Attendex que je recherche une versione français.
<kelaouchi> merci LeCamarade
Demitar has joined #ocaml
<LeCamarade> kelaouchi: Malheur. Même après avoir recherché sur Google (en français) le seul manuel que je trouve et celui en anglais. :o(
<kelaouchi> ici aussi ils disent la meme chose : http://www-lih.univ-lehavre.fr/~bertelle/tpcaml1.html
<kelaouchi> #quit;; permet de sortir de la boucle d'interaction
* LeCamarade n'est pas français ... ou même francophone officielement ...
<kelaouchi> et je l'ai vu ailleurs encore...
<LeCamarade> Peut-être des choses ont changés un peu. Je crois c'était vrai (à propos de quit) dans des version autres.
<LeCamarade> Ou c'est ... attendez. Le manuel officiel n'à pas quit.
G has quit [Connection timed out]
<kelaouchi> ca l'etait certainement...
<LeCamarade> Mais, intéressament, j'ai une versione plus vielle que la votre.
<LeCamarade> 3.09.2
<kelaouchi> j'ose imaginer qu'une doc venant de polytechnique est fiable...
<kelaouchi> LeCamarade sinon je vais essayer quand meme de m'atteler a http://caml.inria.fr/pub/docs/manual-ocaml/index.html
<kelaouchi> autant aller a la source...
<LeCamarade> Mais quit est valide pour quelques systèmes.
<kelaouchi> a l'epoque ou http://www.pps.jussieu.fr/Livres/ora/DA-OCAML/book-ora009.html a ete ecrit, l'auteur utilisait une version 2.04
<LeCamarade> kelaouchi: Ah. Cela peut être le problème.
<kelaouchi> certainement
<kelaouchi> mais c'est dommage qu'il n'y ait pas de mise a jour...
<LeCamarade> flux: Did Caml (maybe Light) ever quit with the quit function?
<kelaouchi> notamment pour des debutants comme moi
<kelaouchi> m'enfin
<LeCamarade> kelaouchi: Oui. Et il n'y a des traductions d'anglais
<LeCamarade> du manuel officiel.
<kelaouchi> :/
<LeCamarade> Attendez un peu...
<kelaouchi> c'est d'autant plus etrange que l'initiateur de ce langage est francais...
<LeCamarade> kelaouchi: Oui!
<LeCamarade> :oD
<LeCamarade> Nous sommes vaincu! :o(
<LeCamarade> Recherchez sur Google: traduction ocaml manuel. Vous verriez des des liens ... je recherche encore ...
<LeCamarade> Très intéressant. Une échange entre Xavier Leroy et un autre.
<kelaouchi> LeCamarade merci mais ne perd pas ton temps a chercher je vais lire le manuel en anglais :)
<kelaouchi> par contre une question : utilises-tu ou as-tu deja utilise bmktrans (http://www2.lifl.fr/~boulet/softs.html) ?
<LeCamarade> Alors, je vous souhaite un bonjour!
<kelaouchi> oui merci de ton aide LeCamarade
<LeCamarade> ?
<kelaouchi> oui
<kelaouchi> donc je n'ai pas le choix
postalchris has quit [Read error: 110 (Connection timed out)]
<kelaouchi> il dit clairement qu'il n'y a pas de traduction fr
love-pingoo has quit ["Leaving"]
postalchris has joined #ocaml
<LeCamarade> Oui. Peut-être le communauté dois faire une traduction. Alors. C'est la vie.
<kelaouchi> lol
sourcerror has quit [Read error: 110 (Connection timed out)]
sourcerror has joined #ocaml
cjeris has joined #ocaml
<LeCamarade> flux: What is the OCaml equivalent of Haskell's Either type?
<flux> it's something you define yourself: type ('a, 'b) either = Left of 'a | Right of 'b
<flux> (if you want such a generic structure)
<flux> you could maybe use polymorphic variants
<LeCamarade> flux: I do. :oD
postalchri1 has joined #ocaml
bluestorm_ has joined #ocaml
postalchris has quit [Read error: 110 (Connection timed out)]
postalchri1 has quit [Read error: 110 (Connection timed out)]
postalchris has joined #ocaml
smimou has joined #ocaml
love-pingoo has joined #ocaml
<pango_> kelaouchi, LeCamarade: the difference between quit and #quit is #
<pango_> #quit is a pragma of the toploop, not a construct in the language
<kelaouchi> oups
<kelaouchi> ok
<kelaouchi> works fine :)
<bluestorm_> ita: ?
lasts has joined #ocaml
LeCamarade has quit ["[BX] I wonder what this button marked "EOF" does..."]
the_dormant has joined #ocaml
lasts has quit [Read error: 54 (Connection reset by peer)]
lasts has joined #ocaml
Submarine has joined #ocaml
gunark has joined #ocaml
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
the_dormant has quit []
noteventime has joined #ocaml
the_dormant has joined #ocaml
ygrek has quit []
jlouis has joined #ocaml
pantsd has joined #ocaml
mbishop has quit ["brb"]
mbishop has joined #ocaml
noteventime has quit [Remote closed the connection]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
the_dormant has quit ["Au revoir"]
love-pingoo has quit ["Connection reset by pear"]
tree_ has quit [Read error: 54 (Connection reset by peer)]
pantsd has quit [Read error: 110 (Connection timed out)]
smimou has quit ["bli"]
shawn_ has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
postalchris has quit [Read error: 110 (Connection timed out)]