valross has quit [Remote host closed the connection]
valross has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
_unK has quit [Remote host closed the connection]
jakedouglas has joined #ocaml
ulfdoz has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
ulfdoz has quit [Ping timeout: 240 seconds]
f[x] has joined #ocaml
oc13 has joined #ocaml
valross has quit [Remote host closed the connection]
gildor has quit [Ping timeout: 276 seconds]
gildor has joined #ocaml
Yoric has joined #ocaml
Yoric has quit [Quit: Yoric]
munga has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
seafood has quit [Quit: seafood]
Amorphous has quit [Ping timeout: 276 seconds]
ttamttam has joined #ocaml
ikaros has joined #ocaml
ttamttam has quit [Remote host closed the connection]
ttamttam has joined #ocaml
Amorphous has joined #ocaml
Yoric has joined #ocaml
munga has quit [Ping timeout: 252 seconds]
rwmjones_afk has quit [Ping timeout: 245 seconds]
rwmjones_afk has joined #ocaml
lpereira has joined #ocaml
adrien has quit [Quit: leaving]
adrien has joined #ocaml
ftrvxmtrx has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
Axsuul has quit []
sepp2k has joined #ocaml
verte has joined #ocaml
verte has left #ocaml []
barismetin has joined #ocaml
munga has joined #ocaml
munga has quit [Ping timeout: 255 seconds]
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
yezariaely has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
munga has joined #ocaml
unenana has joined #ocaml
unenana has quit [Client Quit]
Yoric has joined #ocaml
munga has quit [Ping timeout: 245 seconds]
orbitz has quit [Ping timeout: 240 seconds]
lpereira has quit [Quit: Leaving.]
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
_unK has joined #ocaml
th5 has joined #ocaml
munga has joined #ocaml
munga has quit [Read error: Connection reset by peer]
mjonsson has quit [Remote host closed the connection]
joewilliams is now known as joewilliams_away
ccasin has joined #ocaml
th5 has quit [Quit: th5]
jakedouglas has joined #ocaml
seafood has joined #ocaml
avsm has joined #ocaml
ikaros has joined #ocaml
seafood has quit [Quit: seafood]
munga has joined #ocaml
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
ikaros has quit [Quit: Leave the magic to Houdini]
<yezariaely>
yesterday I asked a question on type comparison which was not really well described. I try it again now:
ikaros has joined #ocaml
<yezariaely>
If i have a type abc = a | b | c | ... I can differentiate using a match x with ... expression.
<yezariaely>
is it possible to use a if expression instead of a match to compare to get to know if x is of type abc created with constructor a ?
<yezariaely>
the intention is, that I have a large type and simply want to know if 1 constructor fits, and if not, then an exception is thrown.
<yezariaely>
however this will produce a nested match for my code and I wanted to replace the inner match by a smaller and nicer readable "if" if possible