<flux>
btw, huhu means, translated from finnish, rumor
<julm>
huhu: in french it just means I am laughing :P
Associat0r has joined #ocaml
<Associat0r>
guys at what level do you guys type annotate?
<Associat0r>
if at all?
<gildor>
Associat0r: you mean "let x (i: int)" ?
<mrvn>
only when hunting bugs
<mrvn>
or when neccessary to compile
<gildor>
there is at least 3 case,
<gildor>
1st: hunting bug
<Associat0r>
gildor : yes
<flux>
if I've planned the interface ahead (and written it in the .mli) I will likely copy those annotations to the implementation file
<flux>
and keep maintaining them for exported bindings
<gildor>
2nd: when you ignore result : ignore(x 1) is not good, I always write let _i : int = x 1 in ()
<Associat0r>
in haskell they seem to annotate every top-level function
<gildor>
3rd: when you explicity want a type, typically when processing array of float
<Associat0r>
I think it's to constrain the type classes in the haskell case right?
<gildor>
array of float is unboxed, so you get a speedup if you specialize your type
<gildor>
Associat0r: I am not sure why they do this in Haskell, ask #haskell, they will probably have better answer than I ;-)
<julm>
gildor: sometimes [ignore] may be appropriate, because it keeps the warning for partial applications whereas [let _ =] does not (unless you specify a type I mean)
<mrvn>
julm: it does?
<mrvn>
Who hardcoded that into the grammar?
<gildor>
julm: are you sure ignore keep the warning ? I think ";" keep the warning about partial application
<julm>
# ignore ((fun _ _ -> ()) ());;
<julm>
Warning F: this function application is partial,
<julm>
maybe some arguments are missing.
<gildor>
julm: ignore apply even to partially applied function (which are values just as anything else)
<julm>
# let _ = (fun _ _ -> ()) ();;
<julm>
- : '_a -> unit = <fun>
<gildor>
ok
<flux>
indeed sometimes you want to ignore that warning even in partial evaluation, if your function happens to return a function which you want to ignore
<gildor>
but anyway, i was not proposing "let _ = "
<gildor>
but "let _i : int = " which is not the same thing
<gildor>
this form help you ensure that you don't have partial application and that the result is what you except
<julm>
sure :) that was just to notify people about this feature of [ignore]
<Associat0r>
guys thanks for your answers
<kattla>
gildor: why not "ignore (... : int)" ?
<gildor>
kattla: I do that also
<gildor>
(more let ignore_int : int -> unit = ignore in fact)
Snark_ has joined #ocaml
munga has joined #ocaml
Lomono has quit [Read error: 60 (Operation timed out)]
Lomono_ has joined #ocaml
mpwd has quit []
Associat0r has quit []
Lomono_ has quit [Read error: 104 (Connection reset by peer)]
LeCamarade|Away is now known as LeCamarade
jeanbon has joined #ocaml
jeanbon has quit [Client Quit]
Alpounet has joined #ocaml
Lomono____ has joined #ocaml
_andre has joined #ocaml
Lomono____ has quit [Connection timed out]
ikaros has joined #ocaml
rwmjones_ has joined #ocaml
<kaustuv>
Ooh, next ocaml meeting in Tokyo. I wonder if I can use it as an excuse to visit Japan.
<Alpounet>
heh
<Yoric[DT]>
:)
<julm>
Tokyo OMG :O
barismetin has joined #ocaml
<gildor>
kaustuv: there will be probably a meeting in France next february
<julm>
nice, +1 for France and +2 for Grenoble :'°)
<gildor>
julm: not in Grenoble this year
<gildor>
julm: probably in Paris
<julm>
too bad :(
<Alpounet>
Paris... always Paris ... :-(
youscef has joined #ocaml
Camarade_Tux has joined #ocaml
<kaustuv>
What's the matter with Paris?
<Alpounet>
Too far from here :-p
<Alpounet>
and interesting things always happen in Paris !
<Alpounet>
E.g, I can't think about creating a FP User Group here in Marseille, I'd be nearly alone.
<kaustuv>
Oh, I think there are a lot of functional programmers in u-mrs
<Alpounet>
But most of French OCaml hackers are in Paris.
<Alpounet>
kaustuv, yeah there are. Maybe you know "Grégory Lafitte" ?
<kaustuv>
No, sorry, never met him.
<Alpounet>
There are one or two other researchers using FP that I know of, that's all...
<Camarade_Tux>
it would only take about three hours in train ;p
<Alpounet>
Camarade_Tux, and too much in Euros :p
<Camarade_Tux>
40 to 50€ ? :D
<julm>
70
<Camarade_Tux>
*2
<kaustuv>
air france will have cheaper flights, I think
<Camarade_Tux>
but as far as I can say, there are several ocaml people in the south of France too
<Camarade_Tux>
kaustuv, yeah, probably
<Alpounet>
Camarade_Tux, oh, where ?
<Alpounet>
well, at least 100€ for flights, then <I don't know how much> for hotel
<Alpounet>
far too much for a student
<Camarade_Tux>
Alpounet, I can't say precisely but according the the domains in mails and even on irc (yes, I spy you all :D ), I can count several people and then, there should be more who don't take part in the mailing-list or on irc
<Alpounet>
'kay !
<julm>
far too much for a student <- mutualizing is the key
<Camarade_Tux>
have to go, headdache :)
* Camarade_Tux
doesn't stand hot temperatures
<Alpounet>
julm, first have to find someone to mutualize with heh !
<Camarade_Tux>
could be nice to make a map of people using ocaml, like those on ohloh
<Alpounet>
yay
<Camarade_Tux>
(which means we could use ohloh directly...)
<Alpounet>
you should start this and then advertize it on the ML
<julm>
that would be nice indeed
<Camarade_Tux>
I know a few people can already be found on the ohloh map but yeah, should be more known (maybe with something else than ohloh)
<Camarade_Tux>
I'll probably do that by the end of the week, now really have to go
Camarade_Tux has quit ["Leaving"]
<Alpounet>
and then I would be able to study whether it would be feasible (= worth) to start some IRL activity in Marseille about OCaml
<gildor>
Alpounet: you mean some kind of local user group ?
dileep has joined #ocaml
alexyk has joined #ocaml
<Alpounet>
gildor, yeah.
willb has joined #ocaml
<gildor>
Alpounet: just do it (TM), it is by starting that you can see if it is worth
<Alpounet>
there's nobody I know in here who uses OCaml
<Alpounet>
that'd be ... weird to start a user group with nobody in it at the beginning except me !
<Alpounet>
brb
Alpounet has quit ["Quitte"]
bombshelter13_ has joined #ocaml
sporkmonger has joined #ocaml
Lomono__ has joined #ocaml
elehack has joined #ocaml
maxote has quit [Read error: 60 (Operation timed out)]
Snark_ has quit ["Ex-Chat"]
willb has quit [Read error: 110 (Connection timed out)]
seafood has joined #ocaml
mpwd has joined #ocaml
alexyk has quit []
animist has quit [Read error: 110 (Connection timed out)]
travisbrady_ has quit []
dileep has quit ["Leaving"]
sfmatt has quit [Remote closed the connection]
alexyk has joined #ocaml
eevar2 has quit ["This computer has gone to sleep"]
animist has joined #ocaml
stan_ has joined #ocaml
stan_ has quit [Client Quit]
willb has joined #ocaml
alexyk has quit []
seafood has quit []
Alpounet has joined #ocaml
animist has quit [Read error: 113 (No route to host)]
__marius__ has quit [Remote closed the connection]
Associat0r has joined #ocaml
travisbrady has joined #ocaml
<hcarty>
Does Batteries work on 3.10.2?
<Alpounet>
If the current version doesn't, the previous should
travisbrady has quit []
<Alpounet>
but it should, yeah
<hcarty>
I got an off-list email from someone saying that they are having trouble compiling the GODI Batteries package under 3.10.2.
<Alpounet>
did they quote some errors ?
<hcarty>
Alpounet: It was extLexing.ml not matching interface extLexing.cmi
<Alpounet>
hmm
travisbrady has joined #ocaml
<hcarty>
I think I've seen questions from others about this same issue. IIRC it had to do with a 3.10.x -> 3.11.x change.
<hcarty>
It may be handled properly in a later git revision though. GODI has the beta release.
mpwd has quit []
<Yoric[DT]>
By default, we're targetting 3.11.
<Yoric[DT]>
Although it *should* work with 3.10.2
<hcarty>
Yoric[DT]: Ok, thanks. That's what I thought.
<hcarty>
This person is using 3.10.2 and the Batteries beta package from GODI
<rwmjones_>
Yoric[DT], I had some problems building batteries for fedora the other day ... I'll have to dig them out for you
<Yoric[DT]>
that would be great
alexyk has joined #ocaml
Lomono__ has quit ["Don't even think about saying Candlejack or else you wi"]
Snark has joined #ocaml
alexyk has quit []
alexyk has joined #ocaml
Lomono__ has joined #ocaml
r0bby has joined #ocaml
det has quit [Remote closed the connection]
r0bby has quit [Read error: 104 (Connection reset by peer)]
r0bby has joined #ocaml
det has joined #ocaml
r0bby has quit [Read error: 54 (Connection reset by peer)]
r0bby has joined #ocaml
alexyk has quit []
barismetin has left #ocaml []
alexyk has joined #ocaml
rwmjones_ has quit ["Leaving"]
alexyk has quit [Read error: 104 (Connection reset by peer)]
alexyk has joined #ocaml
psnively has joined #ocaml
psnively has left #ocaml []
alexyk_ has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
aij has quit ["trying to fix openafs"]
aij has joined #ocaml
alexyk_ has quit [Read error: 104 (Connection reset by peer)]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
Snark has quit ["Ex-Chat"]
maxote has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
alexyk has joined #ocaml
alexyk_ has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
alexyk_ has quit [Client Quit]
_andre has quit ["Lost terminal"]
sgnb has quit [Remote closed the connection]
sgnb has joined #ocaml
alexyk has joined #ocaml
komar__ has joined #ocaml
alexyk has quit []
rAphael has joined #ocaml
komar__ has quit [No route to host]
alexyk has joined #ocaml
rAphael has quit ["leaving"]
bombshelter13_ has quit []
julm has quit [Read error: 110 (Connection timed out)]