gussing has quit [Read error: Connection reset by peer]
gussing has joined #ocaml
alpounet has quit [Quit: ``Do what you think you can't do.'']
onigiri_ has quit [Quit: onigiri_]
maskd has joined #ocaml
onigiri_ has joined #ocaml
onigiri_ has quit [Read error: Connection reset by peer]
onigiri_ has joined #ocaml
ikaros has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
alpounet has joined #ocaml
ulfdoz has joined #ocaml
ulricha has left #ocaml []
alpounet has quit [Ping timeout: 265 seconds]
alpounet has joined #ocaml
psnively has joined #ocaml
spearalot has quit [Quit: -arividerchi]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
mlh has quit [Ping timeout: 246 seconds]
rwmjones has left #ocaml []
rwmjones has joined #ocaml
ulfdoz_ has quit [Quit: Reconnecting]
ulfdoz has joined #ocaml
gussing has quit [Quit: Leaving]
mlh has joined #ocaml
sepp2k has quit [Ping timeout: 245 seconds]
sepp2k has joined #ocaml
_unK has quit [Remote host closed the connection]
schme has quit [Ping timeout: 258 seconds]
schme has joined #ocaml
schme has quit [Changing host]
schme has joined #ocaml
psnively has quit [Quit: psnively]
jakedouglas has joined #ocaml
ccasin has joined #ocaml
sepp2k has quit [Quit: Leaving.]
smimou has joined #ocaml
ccasin has quit [Quit: Leaving]
ccasin has joined #ocaml
ccasin has quit [Ping timeout: 265 seconds]
pimmhogeling has joined #ocaml
ccasin has joined #ocaml
pimmhogeling has quit [Remote host closed the connection]
<orbitz>
is there af unction that basically gives me th eoutput of the REPL? Kind of liek 'repr' in Python? I want to eaisly see what my data structur elook slike inside vairous functions
ttamttam has joined #ocaml
<derdon>
orbitz: I once asked for it here
<derdon>
the answer was that there is no solution for any type
<derdon>
you can write a function which represents a specific type
<orbitz>
yeah that' swha ti wante dto avoid :(
<orbitz>
i wa shoping whatever teh REPL does is exposed somehow
<orbitz>
thanks derdon
<derdon>
if you know the differences between the python type system and the one of OCaml, you'll understand the reason
<alpounet>
orbitz, you can link with the actual code of the REPL and embed it but ...
<orbitz>
derdon: I'm not sure I agree, teh REPL can do it just fine...
<orbitz>
alpounet: sounds abit more than I want..
<alpounet>
it is
<alpounet>
://
<orbitz>
hehe
<derdon>
orbitz: maybe you understand the source of the REPL, don't know if thil will help
<orbitz>
derdon: what do you mean?
<derdon>
orbitz: the source of the ocaml interpreter/compiler (whatever it is)
<orbitz>
derdon: i haven' tlooekd at it. i highly doubt i grok it
<orbitz>
derdon: but My guess would be it wouldn't be craaaazy harder than Printf.pritnf (which is partially a compiler construct, yes?)
<derdon>
orbitz: you didn't understand OCaml's type system yet
<orbitz>
derdon: how so?
<orbitz>
I'm certainly no pro, but I would like to think I have soem degree ofunderstanding
oc13 has joined #ocaml
sepp2k has joined #ocaml
mutewit has joined #ocaml
oc13 has quit [Quit: Leaving.]
mutewit has quit [Quit: leaving]
drk-sd has quit [Quit: foo]
ftrvxmtrx has joined #ocaml
cizra has left #ocaml []
_unK has joined #ocaml
ttamttam has quit [Quit: Leaving.]
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 276 seconds]
ygrek has quit [Ping timeout: 245 seconds]
onigiri__ has joined #ocaml
onigiri_ has quit [Ping timeout: 276 seconds]
onigiri_ has joined #ocaml
enthymeme has joined #ocaml
onigiri__ has quit [Ping timeout: 240 seconds]
Demitar has quit [Ping timeout: 245 seconds]
Submarine has joined #ocaml
<pikachuyann>
bonne nuit
pikachuyann has quit [Remote host closed the connection]
<thelema>
orbitz: the function you want is called match in ocaml, and it works by you tagging the values you want to get the type of.
<orbitz>
thelema: i thought match was syntax not a function
<orbitz>
thelema: what i want is a print_anything that will give sane-human-readable-output for debugging purposes
<thelema>
well, it doesn't directly give you a string.
<thelema>
sorry, the types of things aren't available at runtime, only their representations (which overlap for different types)
<thelema>
i.e. if you have type x = A | B
<orbitz>
thelema: i don't want to write any code for this other thant he print:) Just curious if there was somethign liek repr. Extending Show in Haskell gives me teh same free ness too
gildor_ has left #ocaml []
gildor_ has joined #ocaml
gildor_ has quit [Quit: leaving]
gildor has joined #ocaml
<gildor>
alpounet: can you take a look at newhope administration