igitoor has quit [Read error: Connection reset by peer]
igitoor_ has joined #ocaml
igitoor_ has quit [Changing host]
igitoor_ has joined #ocaml
igitoor_ is now known as igitoor
tormen has joined #ocaml
williewillus has joined #ocaml
tormen_ has quit [Ping timeout: 265 seconds]
<williewillus>
hi all, trying to get into Lwt (for AoC again, day 7). things are going good so far, except for some reason the lwt_unix modules are not being recognized. I've got conf-libev and lwt installed from opam, and `lwt` listed in dune libraries. what am I missing?
<williewillus>
thanks!
<companion_cube>
you also need lwt.unix
<companion_cube>
(it's optional, since you can also use lwt on non-unix platforms such as the browser)
<williewillus>
oh, how do i install that? opam install lwt.unix says package not found
<companion_cube>
it should already be installed
<companion_cube>
the `.` indicates it's a subpackage of lwt
<oni-on-ion>
are you still doing windows? btw williewillus i seen your reddit post but did not click further
<williewillus>
ah okay, thanks! fixed by adding lwt.unix to `dune`
<williewillus>
oni-on-ion I've always been using linux
<williewillus>
that reddit post was caused by breakages in janestreet Base 0.13
<oni-on-ion>
yea i remember, the equal sign and the 'int' type. my suggestion was that the type was inferred earlier on; sometimes those messages are not so clear (or timely)
sagax has joined #ocaml
vicfred has quit [Quit: Leaving]
oni-on-ion has quit [Ping timeout: 245 seconds]
oni_on_ion has joined #ocaml
williewillus has quit [Remote host closed the connection]
narimiran has joined #ocaml
oni_on_ion is now known as oni-on-ion
keep_learning has joined #ocaml
dborisog has joined #ocaml
keep_learning has quit [Client Quit]
madroach has joined #ocaml
keep_learning has joined #ocaml
keep_learning has quit [Client Quit]
<xvilka>
strange, something is fishy with ocaml-zlib and dune
<xvilka>
if I open Zlib with utop it works fine: #require "zlib";; Zlib.create_inflate ~window_bits:0 ();; indeed creates the inflate instance
<xvilka>
but if I have the code like "let inflate = Zlib.create_inflate ~window_bits:0 () in ..." in test.ml with Dune it fails
<xvilka>
it says me "Error: unbound value Zlib.create_inflate"
<xvilka>
wtf
<xvilka>
at the same time merlin doesn't show any error, only "dune build" step does
<xvilka>
and if I call "dune build --verbose" it shows the zlib in the `-I` flags
<xvilka>
I moved everything and renamed in zlib2, and it magically works
jao has quit [Ping timeout: 265 seconds]
Serpent7776 has joined #ocaml
Haudegen has joined #ocaml
dborisog has quit [Remote host closed the connection]
bartholin has quit [Remote host closed the connection]
<Nikkel>
Is it possible make Js_of_ocaml listen to when an Html.R element is updated?
ygrek__ has quit [Ping timeout: 240 seconds]
Nahra has joined #ocaml
Nahra has joined #ocaml
Nahra has quit [Changing host]
<Nikkel>
I'm trying to reuse some code, but I think I'm triggering the code in create_picker and destroy_picker before I actually want to https://pastebin.com/fEtLRwwC
<Nikkel>
How do I make it so that they aren't actually evaluated until I run the functions? Do I need callbacks?
Serpent7776 has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
free_beard has joined #ocaml
dborisog has joined #ocaml
mfp has joined #ocaml
free_beard has quit [Ping timeout: 276 seconds]
free_beard has joined #ocaml
slice has quit [Ping timeout: 268 seconds]
ggole has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
aubian has quit [Ping timeout: 265 seconds]
aubian has joined #ocaml
mbuf has joined #ocaml
<mbuf>
I have opam 2.0.5 installed on Parabola GNU/Linux-libre, and have completed "opam install stog". When running "opam list", it does mention that stog is installed. But, when I try to run the command "stog", it says command not found. I have done "eval `opam config env`" already.
<mbuf>
"opam switch" tells me that "4.06.1 ocaml-base-compiler-4.06.1" is the current one. What could I be missing?
tobiasBo1 has quit [Ping timeout: 276 seconds]
Fardale has quit [Ping timeout: 276 seconds]
<Leonidas>
mbuf: can you find `stog` in your `_opam/bin`?
<mbuf>
Leonidas, it is not there in ~/.opam/4.06.1/bin/