<senko>
im not using windows, so i don't know how to give more specific information...
<senko>
i hope you succeed...
<y6cmE>
i try it....
<ulfdoz>
Icons? Aren't that these small pictures, covering no information? :)
<senko>
they can be pretty sometimes :)
y6cmE has quit [Read error: 110 (Connection timed out)]
Submarine has quit ["Leaving"]
bk_ has joined #ocaml
bk_ has quit ["leaving"]
vodka-goo has quit []
TeXitoi has quit [Read error: 104 (Connection reset by peer)]
TeXitoi has joined #ocaml
MisterC has joined #ocaml
<mflux_>
hmm, I remember there was this question arised on the channel, that is there ever need to functions to operate both on floating point numbers and integers..
<mflux_>
well, now I have this algorithm for making a polygon convex
<mflux_>
so yes, I believe there are such cases :)
Amorphous has quit ["arg... must... shutdown... computer burnin..."]
<Snark>
mflux_: type number = Int of int | Float of float ?
<mflux_>
snark, that would be very inconvenient
pango has quit ["Leaving"]
<mflux_>
well, not actually
<mflux_>
but would pass int+float-kind of code
<Snark>
mflux_: match num with Int i -> ... | Float f -> ...
<Snark>
for the sum, you do a match on the pair... if both are integers or both floats, you sum with + or +.
<Snark>
if one of them is int and the other float, then you convert the int to float then sum with +.
<mflux_>
snark, but it would allow Int 4 + Float 42.0 to pass the compiler
<mflux_>
snark, I want the algorithm to work purely on integers or purely on floats.
<mflux_>
anyway, I solved it with the module system
<Snark>
no, it wouldn't allow +
<Snark>
ok
haakonn has quit [Read error: 104 (Connection reset by peer)]
ngaylinn has joined #ocaml
<ngaylinn>
Is there any way to either make ocaml print errors AND warnings to stdout or to stderr, instead of splitting them up?
<mflux_>
the compiler you mean? in unix?
<mflux_>
in unix it can print everything to stdout with ocamlc ... 1>&2
<ngaylinn>
not the compiler, the interpretter.
<mflux_>
oh
<mflux_>
no idea, that redirects everything
<mflux_>
propably not without patching the interpreter
<ngaylinn>
Joy.
pango has joined #ocaml
smimou has joined #ocaml
batdog has quit [Read error: 110 (Connection timed out)]
ngaylinn has quit ["Leaving"]
araujo has joined #ocaml
bk_ has joined #ocaml
vodka-goo has joined #ocaml
mrpingoo has joined #ocaml
vodka-goo has quit [Read error: 104 (Connection reset by peer)]
batdog has joined #ocaml
bk_ has quit ["leaving"]
bk_ has joined #ocaml
mrvn has joined #ocaml
Naked has quit [Read error: 145 (Connection timed out)]
<TeXitoi>
marillat est tout cassé?
<TeXitoi>
oups, sorry, wrong chan
<Snark>
TeXitoi: eh?
<Snark>
good night
Snark has left #ocaml []
mrpingoo has quit []
Submarine has joined #ocaml
Naked has joined #ocaml
vezenchio has quit ["Ayn Rand encapsulates the rage that every teenager feels on finding that his first paycheque has had taxes taken out of it"]
Naked has quit ["leaving"]
__DL__ has quit [Remote closed the connection]
_fab has quit [Read error: 113 (No route to host)]
MisterC has quit ["Client exiting"]
_JusSx_ has quit ["leaving"]
Sonarman_ has quit [Read error: 60 (Operation timed out)]