companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
tryte has joined #ocaml
mbuf has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
narimiran has joined #ocaml
wonko7 has joined #ocaml
mfp has joined #ocaml
raver has quit [Ping timeout: 265 seconds]
raver has joined #ocaml
olle has joined #ocaml
Haudegen has joined #ocaml
vicfred has quit [Quit: Leaving]
hosewiejacke has joined #ocaml
bartholin has joined #ocaml
<d_bot> <bikal> @Drup is there a similar article as the difflist one but for how the scanf works?
<Drup> no because scanf sucks and it's mostly the same
<Drup> :D
<Drup> Both Furl and resto do both input and output though, if you want inspiration
<d_bot> <bikal> ah, yes looking at resto now but thought if there was a similar simplified article as the difflist.
<d_bot> <Drup> it's really mostly the same
<d_bot> <bikal> perhaps a small demo in the spirit of difflist for us mere mortal 🙂
<d_bot> <Drup> sure
<d_bot> <Drup> the main idea is to make a function of type `('a, 'b) foo -> 'a`
<d_bot> <Drup> it takes a *continuation* that is going to accept the content of the hole as argument
<d_bot> <Drup> try to write that one first, with the same type as the 2nd part of the blog post
<d_bot> <bikal> k
<d_bot> <Drup> (Sorry, I fixed the type)
hosewiejacke has quit [Ping timeout: 268 seconds]
hosewiejacke has joined #ocaml
henistein has joined #ocaml
<henistein> I want to read a matrix like this one from stdin https://pastebin.pl/view/fdeed40c, but I have no idea how to do it
<d_bot> <Benoît Barbot> A simple way is to use read_line and Str.split
<octachron> String.split_on_char should be enough. It seems simpler to avoid the quasi-deprecated Str`.
hosewiejacke has quit [Ping timeout: 240 seconds]
penguwin7 has joined #ocaml
penguwin has quit [Ping timeout: 245 seconds]
penguwin7 is now known as penguwin
<d_bot> <bikal> @Drup think my brain is fried trying to grok gadt and continuation and the like. Do you have a worked out `scan` that I can learn from?
<labor[m]> the new OCaml documentation hub has just been published at https://docs.ocaml.pro ; full announcement here: https://discuss.ocaml.org/t/ann-docs-ocaml-pro-an-ocaml-documentation-hub/7718 :)
<d_bot> <fangyi> When using menhir to generate my parser, it says I have silently resolved shift/reduce conflicts, but `--explain` produces an empty conflicts file, is that expected?
Leonidas_ is now known as Leonidas
Leonidas has quit [Changing host]
Leonidas has joined #ocaml
sagax has quit [Ping timeout: 245 seconds]
hosewiejacke has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
hosewiejacke has quit [Ping timeout: 260 seconds]
<d_bot> <zseri> I don't think that's normal. (on my system it either produces no `.conflicts` file, or a non-empty `.conflicts` file)
curtosis has joined #ocaml
mfp has quit [*.net *.split]
mbuf has quit [*.net *.split]
caasih has quit [*.net *.split]
beaky has quit [*.net *.split]
ahf has quit [*.net *.split]
mfp has joined #ocaml
caasih has joined #ocaml
mbuf has joined #ocaml
ahf has joined #ocaml
beaky has joined #ocaml
ahf has quit [Ping timeout: 245 seconds]
<steenuil> wow, that documentation hub thing is really nice
ahf has joined #ocaml
henistein has quit [Quit: Connection closed]
Haudegen has joined #ocaml
<d_bot> <bikal> @Anurag is there a sample usage for `val ( /~ ) : (('a, 'b) path -> ('c, 'd) path) -> ('a, 'b) target -> ('c, 'd) target` ?
waleee-cl has joined #ocaml
curtosis is now known as curtosis[away]
<d_bot> <quartz> this is A M A Z I N G
<d_bot> <quartz> we have our own https://docs.rs now 😄
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
alexey has quit [Ping timeout: 250 seconds]
alexey has joined #ocaml
wonko7 has quit [Ping timeout: 265 seconds]
henistein has joined #ocaml
henistein has left #ocaml [#ocaml]
vicfred has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<d_bot> <Anurag> Yes! The tests should cover every function in the public api. ` /~ ` can be seen in action at https://github.com/anuragsoni/routes/blob/cb2c16b4dc9b3e0ef7899ced07da122ba880f16b/test/routing_test.ml#L327
olle has quit [Ping timeout: 268 seconds]
mbuf has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
Haudegen has joined #ocaml
olle has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
Tuplanolla has joined #ocaml
ArthurStrong has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
olle has joined #ocaml
vicfred has quit [Remote host closed the connection]
vicfred has joined #ocaml
vicfred has quit [Max SendQ exceeded]
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
vicfred has joined #ocaml
vicfred has quit [Max SendQ exceeded]
olle has quit [Ping timeout: 268 seconds]
jerith_ has joined #ocaml
drakonis1 has joined #ocaml
curtosis[away] has quit [*.net *.split]
drakonis has quit [*.net *.split]
emias has quit [*.net *.split]
notnotdan_ has quit [*.net *.split]
jerith has quit [*.net *.split]
drakonis1 is now known as drakonis
<d_bot> <froyo> now the only thing that's missing is a public instance of ocamloscope
<d_bot> <froyo> and we'd have our own hoogle too
emias has joined #ocaml
notnotdan_ has joined #ocaml
<d_bot> <EduardoRFS> I think merlin already has the tooling for this, I remember they have a way to say stuff like `-string +number`
dh` has quit [Ping timeout: 240 seconds]
ArthurStrong has quit [Quit: leaving]
tane has joined #ocaml
dh` has joined #ocaml
olle has joined #ocaml
cemerick has quit [Read error: Connection reset by peer]
sz0 has quit [Read error: Connection reset by peer]
SrPx has quit [Read error: Connection reset by peer]
b20n has quit [Read error: Connection reset by peer]
terabit has quit [Read error: Connection reset by peer]
adrianbrink has quit [Read error: Connection reset by peer]
<d_bot> <zbaylin> Anyone know if it's possible to link an MSVC-compiled `.lib` file using `ocamlopt`?
cemerick has joined #ocaml
b20n has joined #ocaml
adrianbrink has joined #ocaml
SrPx has joined #ocaml
sz0 has joined #ocaml
terabit has joined #ocaml
hosewiejacke has joined #ocaml
hosewiejacke has quit [Client Quit]
narimiran has quit [Ping timeout: 265 seconds]
olle has quit [Ping timeout: 260 seconds]
tane has quit [Quit: Leaving]
Haudegen has quit [Ping timeout: 246 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]