_fab has quit [sterling.freenode.net irc.freenode.net]
mauke has quit [sterling.freenode.net irc.freenode.net]
MirrorLynx has quit [sterling.freenode.net irc.freenode.net]
vincenz has quit [sterling.freenode.net irc.freenode.net]
mellum has quit [sterling.freenode.net irc.freenode.net]
tewk has quit [sterling.freenode.net irc.freenode.net]
Hipo has quit [sterling.freenode.net irc.freenode.net]
_fab has joined #ocaml
mauke has joined #ocaml
MirrorLynx has joined #ocaml
tewk has joined #ocaml
vincenz has joined #ocaml
mellum has joined #ocaml
Hipo has joined #ocaml
vezenchio has quit ["I live in a yurt on the steppes of Sheepfuckistan. That's why."]
MobyTurbo has joined #ocaml
mfurr has quit ["sleep"]
MobyTurbo has left #ocaml []
mlh has quit [Read error: 104 (Connection reset by peer)]
Hadaka has quit [Read error: 54 (Connection reset by peer)]
Naked has joined #ocaml
Naked is now known as Hadaka
mlh has joined #ocaml
zzorn has joined #ocaml
mrvn has joined #ocaml
Submarine has joined #ocaml
Banana has joined #ocaml
mlh has quit [Client Quit]
mrvn_ has quit [Read error: 145 (Connection timed out)]
dan2 has quit [sterling.freenode.net irc.freenode.net]
Nutssh has quit [sterling.freenode.net irc.freenode.net]
skylan has quit [sterling.freenode.net irc.freenode.net]
Riastradh has quit [sterling.freenode.net irc.freenode.net]
rossberg has quit [sterling.freenode.net irc.freenode.net]
shrimpx has quit [sterling.freenode.net irc.freenode.net]
noj has quit [sterling.freenode.net irc.freenode.net]
Riastradh has joined #ocaml
noj has joined #ocaml
skylan has joined #ocaml
shrimpx has joined #ocaml
clog has joined #ocaml
__DL__ has joined #ocaml
tintin has joined #ocaml
kmkmkm has joined #ocaml
kmkmkm has left #ocaml []
CosmicRay has joined #ocaml
|Lupin| has joined #ocaml
<|Lupin|>
Hello everybody
<|Lupin|>
Is it true that a constructor with two arguments is matched in the same way than a constructor with one argument (which is a pair), please ?
<mrvn>
yes
<|Lupin|>
Okay. So if the following type is defined:
<|Lupin|>
type t = A of int * int
<|Lupin|>
the simplest way to match it is with a pattern like A (x, y) ?
<|Lupin|>
No way to removeThe parentheses or the coma ?
<mrvn>
Not that I know of
<|Lupin|>
mrvn: ok, many thanks.
<|Lupin|>
just onelast basic question. I just wrote a printer fuoction I installed with #install_printer. Now when I try to print to value, the value is printed before its type, instead of being printed after it, like usually. However I use Printf.printf in my printer...
<|Lupin|>
Do I do something wrong ?
Msandin has joined #ocaml
<|Lupin|>
oh now I know. One now has to use completely the Format module.
Gueben has joined #ocaml
Msandin has quit [Read error: 113 (No route to host)]
|Lupin| has quit ["leaving"]
Msandin has joined #ocaml
vezenchio has joined #ocaml
cjohnson has joined #ocaml
vodka-goo has joined #ocaml
Msandin has quit [Read error: 60 (Operation timed out)]
nlv11757__ has left #ocaml []
Msandin has joined #ocaml
Submarine has quit ["Leaving"]
Msandin has quit [Read error: 54 (Connection reset by peer)]
cjohnson has quit ["Leaving"]
pango has joined #ocaml
zzorn_away is now known as zzorn
cjohnson has joined #ocaml
Submarine has joined #ocaml
pango has quit [Read error: 104 (Connection reset by peer)]
Snark has joined #ocaml
pango has joined #ocaml
__DL__ has quit [Remote closed the connection]
Herrchen has quit ["bye"]
_JusSx_ has joined #ocaml
Skal has quit ["Client exiting"]
Hipo has left #ocaml []
Submarine has quit ["Leaving"]
Snark has quit ["Leaving"]
mlh has joined #ocaml
CosmicRay has quit ["Client exiting"]
Skal has joined #ocaml
Gueben has quit [Remote closed the connection]
vodka-goo has quit []
_JusSx_ has quit ["Lost terminal"]
zzorn is now known as zzorn_sleep
zzorn_sleep has quit ["They are coming to take me away, ha ha"]