adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.08 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.08/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
crichoux has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
crichoux has quit [Ping timeout: 276 seconds]
GreyFaceNoSpace has quit [Quit: Ex-Chat]
kvda has joined #ocaml
kleisli has quit [Ping timeout: 246 seconds]
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
jao has quit [Ping timeout: 245 seconds]
kleisli has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
silver_ has quit [Read error: Connection reset by peer]
vicfred has quit [Quit: Leaving]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 268 seconds]
rople has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
mbuf has joined #ocaml
_whitelogger has joined #ocaml
gravicappa has joined #ocaml
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #ocaml
crichoux has joined #ocaml
FreeBirdLjj has joined #ocaml
mal`` has quit [Quit: Leaving]
crichoux has quit [Ping timeout: 245 seconds]
vicfred has joined #ocaml
mal`` has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
bbbold has joined #ocaml
narimiran has joined #ocaml
kleisli has quit [Ping timeout: 264 seconds]
bbbold has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Haudegen has joined #ocaml
bbbold has joined #ocaml
kleisli has joined #ocaml
kakadu has quit [Ping timeout: 268 seconds]
kakadu has joined #ocaml
bitwinery has quit [Quit: Leaving]
cartwright has quit [Remote host closed the connection]
cartwright has joined #ocaml
barockobamo has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bbbold has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jaar has joined #ocaml
mbuf has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
mbuf has joined #ocaml
sagax has quit [Remote host closed the connection]
maker has quit [Ping timeout: 245 seconds]
shenghi has quit [Ping timeout: 245 seconds]
emias has quit [Ping timeout: 245 seconds]
theblatte has quit [Ping timeout: 245 seconds]
gikiam has quit [Ping timeout: 245 seconds]
gikiam has joined #ocaml
theblatte has joined #ocaml
emias has joined #ocaml
kakadu has joined #ocaml
shenghi has joined #ocaml
maker has joined #ocaml
dmiles has quit [Ping timeout: 268 seconds]
logicmoo has joined #ocaml
mfp has joined #ocaml
porchetta has quit [Ping timeout: 276 seconds]
porchetta has joined #ocaml
kleisli has quit [Ping timeout: 264 seconds]
liberiga has joined #ocaml
AtumT has joined #ocaml
pino|work has quit [Quit: brb]
pino|work has joined #ocaml
jbrown has joined #ocaml
rople has quit [Ping timeout: 265 seconds]
jaar has quit [Ping timeout: 276 seconds]
jaar has joined #ocaml
barockobamo has quit [Remote host closed the connection]
sagax has joined #ocaml
jao has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
ggole has joined #ocaml
tane has joined #ocaml
kleisli has joined #ocaml
analogue has joined #ocaml
Haudegen has joined #ocaml
kleisli has quit [Ping timeout: 265 seconds]
nullifidian has joined #ocaml
nullifidian_ has quit [Ping timeout: 265 seconds]
malina has joined #ocaml
malina has quit [Remote host closed the connection]
<porchetta> in the ocamlc -dlambda syntax
<porchetta> what does (field 1 lt/1210) means, with function lt/1210?
<octachron> access the field of index 1 in lt/1210
<porchetta> but what lt/1210 is in this context?
<porchetta> isn't it a function?
<porchetta> Basically I don't understand the meaning of the if clauses at line 6 and line 11
<def`> lt/1210 is the parameter of the function
barockobamo has joined #ocaml
<def`> (function named a/1209)
<porchetta> but how can that be a boolean?
<porchetta> what is it testing here? (if (field 1 lt/1210) (exit 1) "K3 2"))
bartholin has quit [Remote host closed the connection]
bartholin has joined #ocaml
FreeBirdLjj has joined #ocaml
crichoux has joined #ocaml
kleisli has joined #ocaml
<def`> this is not a boolean
<def`> lt is apparently a "record", which second field is a boolean
analogue has quit [Ping timeout: 252 seconds]
guest556 has joined #ocaml
guest556 has quit [Remote host closed the connection]
<porchetta> I don't understand, I'll paste the whole program along with the lambda representation
<porchetta> why is the line 12 needed?
<porchetta> and what is (field 1 lt/1210) ?
<ggole> line 12 is a test whether the argument is the empty list; that field 1 is the tail of the cons.
<ggole> What are you looking for here?
smazga has joined #ocaml
q9929t has joined #ocaml
pino|work has quit [Quit: brb]
pino|work has joined #ocaml
q9929t has quit [Quit: q9929t]
malina has joined #ocaml
crichoux has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
narimiran has quit [Ping timeout: 265 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
unyu has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
barockobamo has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
jao has quit [Ping timeout: 252 seconds]
<cemerick> "you can't ask for binary-formatted integers via Printf" *oh no*
kleisli has quit [Ping timeout: 240 seconds]
<Drup> well, you kinda can, you just have to write the formatter yourself
Serpent7776 has joined #ocaml
malina has quit [Remote host closed the connection]
malina has joined #ocaml
gareppa has joined #ocaml
mbuf has quit [Quit: Leaving]
liberiga has quit [Ping timeout: 260 seconds]
gareppa has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
ziyourenxiang has quit [Ping timeout: 246 seconds]
jaar has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
porchetta has quit [Ping timeout: 268 seconds]
dstolfa_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
Haudegen has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
porchetta has joined #ocaml
FreeBirdLjj has joined #ocaml
slice has quit [Ping timeout: 268 seconds]
ggole has quit [Ping timeout: 245 seconds]
kleisli has joined #ocaml
ggole has joined #ocaml
gareppa has joined #ocaml
unyu has quit [Quit: stupid emacs]
unyu has joined #ocaml
kakadu_ has joined #ocaml
jao has joined #ocaml
zolk3ri has joined #ocaml
zolk3ri has quit [Client Quit]
landonf has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
gareppa has quit [Quit: Leaving]
kleisli has quit [Ping timeout: 245 seconds]
slice has joined #ocaml
slice has quit [Ping timeout: 268 seconds]
slice has joined #ocaml
gareppa has joined #ocaml
logicmoo is now known as dmiles
ggole has quit [Quit: Leaving]
wham has joined #ocaml
narimiran has joined #ocaml
wham has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wham has joined #ocaml
yomimono has joined #ocaml
kleisli has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
wham has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jesin has quit [Quit: Leaving]
wham has joined #ocaml
Jesin has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
bitwinery has joined #ocaml
infinity0 has quit [Remote host closed the connection]
<reynir> How do you handle '\000' terminated 'strings' in a cstruct?
<reynir> I mean, how do you extract it as a string?
bitwinery has quit [Quit: Leaving]
Serpent7776 has quit [Quit: leaving]
jao has quit [Ping timeout: 265 seconds]
tane has quit [Quit: Leaving]
<yomimono> reynir: I think you'd have to write something with Cstruct.iter that looked for '\000' characters in the length function?
Jesin has quit [Quit: Leaving]
gareppa has quit [Quit: Leaving]
infinity0 has joined #ocaml
jao has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
Jesin has joined #ocaml
wham has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pino|work has quit [Ping timeout: 268 seconds]
nullifidian_ has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
bitwinery has joined #ocaml
Haudegen has quit [Ping timeout: 245 seconds]
kakadu_ has quit [Remote host closed the connection]
zmt00 has joined #ocaml
smazga has quit [Quit: leaving]
ziyourenxiang has joined #ocaml
nullifidian__ has joined #ocaml
nullifidian_ has quit [Ping timeout: 240 seconds]
kvda has joined #ocaml
ygrek_ has joined #ocaml
ygrek_ has quit [Ping timeout: 240 seconds]