adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
kakadu has quit [Remote host closed the connection]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
Spetznaz_ has quit [Ping timeout: 258 seconds]
Haudegen has quit [Read error: Connection reset by peer]
mfp has quit [Ping timeout: 246 seconds]
tormen_ has joined #ocaml
kalio has quit [Ping timeout: 268 seconds]
tormen has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
recj has quit [Quit: Changing server]
marvin3 has joined #ocaml
marvin2 has quit [Ping timeout: 258 seconds]
recj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Jesin has quit [Quit: Leaving]
FreeBirdLjj has quit [Remote host closed the connection]
iovec has joined #ocaml
gravicappa has joined #ocaml
kalio has joined #ocaml
z__tid has quit [Ping timeout: 252 seconds]
Jesin has joined #ocaml
z__tid has joined #ocaml
_whitelogger has joined #ocaml
jao has quit [Ping timeout: 246 seconds]
Serpent7776 has joined #ocaml
FreeBirdLjj has joined #ocaml
JimmyRcom has quit [Ping timeout: 268 seconds]
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 272 seconds]
ggole has joined #ocaml
Spetznaz_ has joined #ocaml
Spetznaz_ has quit [Ping timeout: 250 seconds]
Spetznaz_ has joined #ocaml
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
orbifx has joined #ocaml
ggole has quit [Ping timeout: 252 seconds]
gravicappa has quit [Ping timeout: 258 seconds]
ggole has joined #ocaml
kakadu has joined #ocaml
initiumdoeslinux has joined #ocaml
mfp has joined #ocaml
Serpent7776 has quit [Quit: leaving]
Serpent7776 has joined #ocaml
gravicappa has joined #ocaml
<orbifx> elo
initiumdoeslinux has quit [Remote host closed the connection]
initiumdoeslinux has joined #ocaml
silver has joined #ocaml
initiumdoeslinux has quit [Ping timeout: 246 seconds]
bartholin has joined #ocaml
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 268 seconds]
asymptotically has joined #ocaml
Haudegen has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
zolk3ri has joined #ocaml
Haudegen has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
jnavila has joined #ocaml
ggole has quit [Quit: ggole]
jnavila has quit [Ping timeout: 246 seconds]
jnavila has joined #ocaml
orbifx has quit [Ping timeout: 245 seconds]
jao has joined #ocaml
maattdd has joined #ocaml
maattdd has quit [Client Quit]
jnavila has quit [Ping timeout: 252 seconds]
GreyFaceNoSpace has joined #ocaml
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
zolk3ri has quit [Quit: Lost terminal]
ziyourenxiang has quit [Ping timeout: 250 seconds]
rbjorklin has joined #ocaml
tane has joined #ocaml
rain1 has quit [Ping timeout: 240 seconds]
<rbjorklin> Hi! New to OCaml and trying out the Janestreet libraries. I'm having trouble understanding the documentation (type signatures really though) of Sequence/Container and the fold_until function. Are there examples somewhere?
mfp has quit [Ping timeout: 250 seconds]
<rbjorklin> I might be doing the "X Y Problem" though. What I'm trying to do is iterate over an infinite list of integers and stop when some condition holds true.
rain1 has joined #ocaml
JimmyRcom has joined #ocaml
KeyJoo has joined #ocaml
JimmyRcom has quit [Ping timeout: 246 seconds]
rbjorklin has quit [Quit: leaving]
rbjorklin has joined #ocaml
rbjorklin has quit [Client Quit]
rbjorklin has joined #ocaml
rbjorklin has quit [Client Quit]
mfp has joined #ocaml
rbjorklin has joined #ocaml
rbjorklin has quit [Client Quit]
rbjorklin has joined #ocaml
rbjorklin has quit [Quit: leaving]
rbjorklin has joined #ocaml
sonologico has joined #ocaml
jnavila has joined #ocaml
sonologico has quit [Ping timeout: 258 seconds]
gravicappa has quit [Ping timeout: 258 seconds]
tane has quit [Quit: Leaving]
jnavila has quit [Ping timeout: 252 seconds]
<ruffy_> rbjorklin: Can you give me the URL where this fold_until is specified? For infinite lists laziness would be advantageous.
<Armael> rbjorklin: I would use "take_while" and then iterate on the result
<Armael> that's probably a bit simpler than using fold_until
sonologico has joined #ocaml
zolk3ri has joined #ocaml
Haudegen has quit [Remote host closed the connection]
zolk3ri has quit [Quit: Lost terminal]
asymptotically has quit [Quit: Leaving]
asymptotically has joined #ocaml
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #ocaml
jnavila has joined #ocaml
rks` has quit [Remote host closed the connection]
Guest85258 has joined #ocaml
Guest85258 has quit [Remote host closed the connection]
Haudegen has joined #ocaml
<rbjorklin> ruffy_: It's here https://ocaml.janestreet.com/ocaml-core/latest/doc/base/Base/Container/ but for some reason Merlin shows it under Sequence which is here: https://ocaml.janestreet.com/ocaml-core/latest/doc/base/Base/Sequence/
<rbjorklin> I've found an example of it being used here: https://www.reddit.com/r/adventofcode/comments/a20646/2018_day_1_solutions/eau6xb9 but I have problems understanding how/why this works even with a working code example...
bartholin has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 246 seconds]
JimmyRcom has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
yawaramin has joined #ocaml
FreeBird_ has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
yawaramin has quit [Quit: Page closed]
SpiceGuid has joined #ocaml
silver_ has joined #ocaml
silver has quit [Ping timeout: 258 seconds]
sagotch has joined #ocaml
jnavila has joined #ocaml
ostera has joined #ocaml
sonologico has quit [Ping timeout: 272 seconds]
Serpent7776 has quit [Quit: leaving]
jnavila has quit [Ping timeout: 252 seconds]
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.49.4/20180713174829]]
JimmyRcom has quit [Ping timeout: 245 seconds]
JimmyRcom has joined #ocaml
sagotch has quit [Quit: Leaving.]
ziyourenxiang has joined #ocaml
asymptotically has quit [Quit: Leaving]
silver_ has quit [Quit: rakede]
ocabot has quit [Ping timeout: 240 seconds]
companion_cube has quit [Ping timeout: 268 seconds]
ocabot has joined #ocaml
sagax has joined #ocaml