companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.05.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.05/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
jlongster has joined #ocaml
ziyourenxiang has joined #ocaml
freusque has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
mali__ has joined #ocaml
malina has quit [Read error: Connection reset by peer]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
Enamex has quit [Ping timeout: 260 seconds]
sapristi has quit [Ping timeout: 240 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfp__ has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
swalk has joined #ocaml
BitPuffin has quit [Remote host closed the connection]
cbot has joined #ocaml
jlongster has joined #ocaml
pierpa has quit [Quit: Page closed]
FreeBirdLjj has joined #ocaml
rostero has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
sam_ has joined #ocaml
govg has joined #ocaml
ziyourenxiang has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
sh0t has quit [Remote host closed the connection]
alexelcu has joined #ocaml
enterprisey has joined #ocaml
raphaelss has quit [Ping timeout: 260 seconds]
sam_ has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 240 seconds]
_berke_ has quit [Remote host closed the connection]
swalk has quit [Quit: swalk]
peterppp has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ocaml
raphaelss has joined #ocaml
mali__ has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
dreadedfrog has joined #ocaml
dreadedfrog has quit [Ping timeout: 260 seconds]
slash^ has joined #ocaml
enterprisey has quit [Remote host closed the connection]
slash^ has quit [Read error: Connection reset by peer]
slash^ has joined #ocaml
MercurialAlchemi has joined #ocaml
ygrek has joined #ocaml
FreeBirdLjj has joined #ocaml
whoma1 has quit [Quit: Leaving]
letaris has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
dakk has quit [Ping timeout: 260 seconds]
dakk has joined #ocaml
keep_learning has quit [Remote host closed the connection]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
dreadedfrog has joined #ocaml
enterprisey has quit [Read error: Connection reset by peer]
cbot has quit [Quit: Leaving]
ziyourenxiang has joined #ocaml
FreeBirdLjj has joined #ocaml
TheLemonMan has joined #ocaml
dakk has quit [Ping timeout: 276 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 246 seconds]
kakadu has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
laszloh has joined #ocaml
laszloh has left #ocaml [#ocaml]
Lightsephi has quit [Ping timeout: 268 seconds]
sam_ has joined #ocaml
tane has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
Simn has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
argent_smith has joined #ocaml
mfp__ has joined #ocaml
freusque has joined #ocaml
djellemah has joined #ocaml
dejanr has quit [Quit: Textual IRC Client: www.textualapp.com]
samrat has joined #ocaml
dejanr has joined #ocaml
dejanr has quit [Client Quit]
dejanr has joined #ocaml
samrat has quit [Ping timeout: 240 seconds]
dejanr has quit [Quit: Textual IRC Client: www.textualapp.com]
dejanr has joined #ocaml
peterppp has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
argent_smith has quit [Quit: Leaving.]
sam_ has joined #ocaml
mali__ has joined #ocaml
samrat has joined #ocaml
sapristi has joined #ocaml
andreas_ has joined #ocaml
shepi has joined #ocaml
<shepi> Hi!
freusque has quit [Ping timeout: 255 seconds]
<shepi> I would like to create an iterator f () which returns successively "1", "2", etc. each time f is called.
<shepi> I am using Core, and I wondered if there exists some tools here that would do that already?
sam_ has quit [Ping timeout: 248 seconds]
ygrek has quit [Ping timeout: 260 seconds]
sapristi has quit [Ping timeout: 240 seconds]
sapristi has joined #ocaml
mali__ has quit [Remote host closed the connection]
samrat has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
djellemah has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
sapristi has quit [Ping timeout: 268 seconds]
sam_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
sam_ has quit [Client Quit]
malina has joined #ocaml
malina has quit [Ping timeout: 240 seconds]
BitPuffin|osx has joined #ocaml
Exagone313 has quit [Quit: see ya!]
Exagone313 has joined #ocaml
laszloh has joined #ocaml
laszloh has left #ocaml [#ocaml]
FreeBirdLjj has joined #ocaml
<kakadu> shepi: you need write a function which takes unit and returns your iterator. In it's body should be a mutable counter which can be used by returned iterator
malina has joined #ocaml
jbrown has joined #ocaml
mengu has joined #ocaml
tane has quit [Quit: Leaving]
copy_ has joined #ocaml
swalk has joined #ocaml
<kakadu> Do you have any experience with adding new compiler to opam 2.0? Some help needed https://discuss.ocaml.org/t/searching-for-a-manual-about-packaging-compiler-for-opam-2-0/638
_whitelogger has joined #ocaml
peterpp has joined #ocaml
sapristi has joined #ocaml
<peterpp> I always get this error when doing `opam install websocket`: https://gist.github.com/anonymous/e05f3500c729c67909e76c8d722e632a
<peterpp> can anyone make sense of this? otherwise I'll create an issue
sh0t has joined #ocaml
<octachron> peterpp, it looks like there is a constraint error in the websocket's opam package dependency on core (probably exposed due to your old compiler version)
<peterpp> octachron, when I switch to 4.05 and run `opam install websocket` then it says no packages were found
tane has joined #ocaml
<octachron> peterpp, your issue seems to be the same as https://github.com/vbmithr/ocaml-websocket/issues/84
<peterpp> ah, I'd looked through the issues but must have missed this one, thank you
<octachron> peterpp, note also that the 4.04.2 ecosytem is probably more stable than the 4.05.0 right now: there are still packages that I have not transitioned to 4.05
<peterpp> ok, I'll try again with 4.04.2 then
swalk has quit [Quit: swalk]
dreadedfrog has quit [Ping timeout: 240 seconds]
rostero has joined #ocaml
AlexRussia has joined #ocaml
dreadedfrog has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 240 seconds]
dreadedfrog has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
swalk has joined #ocaml
sparkyy_ has quit [Ping timeout: 240 seconds]
sparkyy has joined #ocaml
dreadedfrog has joined #ocaml
vicfred has quit [Ping timeout: 240 seconds]
dreadedfrog has quit [Ping timeout: 260 seconds]
argent_smith has joined #ocaml
jao has quit [Ping timeout: 276 seconds]
vicfred has joined #ocaml
sh0t has quit [Ping timeout: 240 seconds]
Murmus has quit [K-Lined]
Murmus has joined #ocaml
nahra``` has quit [Remote host closed the connection]
sh0t has joined #ocaml
cbot has joined #ocaml
malina has quit [Ping timeout: 240 seconds]
dreadedfrog has joined #ocaml
BitPuffin|osx has joined #ocaml
malina has joined #ocaml
dreadedfrog has quit [Ping timeout: 240 seconds]
copy_ has quit [Quit: Connection closed for inactivity]
vicfred has quit [Ping timeout: 248 seconds]
swalk has quit [Quit: swalk]
vicfred has joined #ocaml
dejanr has quit []
dejanr has joined #ocaml
jnavila has joined #ocaml
vicfred has quit [Ping timeout: 260 seconds]
vicfred has joined #ocaml
swalk has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
dreadedfrog has joined #ocaml
dreadedfrog has quit [Ping timeout: 246 seconds]
vicfred has quit [Ping timeout: 240 seconds]
Simn has quit [Ping timeout: 255 seconds]
swalk has quit [Quit: swalk]
jlongster has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
Simn has joined #ocaml
FreeBirdLjj has joined #ocaml
ziyourenxiang has quit [Ping timeout: 255 seconds]
dreadedfrog has joined #ocaml
dejanr has quit []
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dreadedfrog has quit [Ping timeout: 276 seconds]
dejanr has joined #ocaml
dejanr has quit [Client Quit]
jnavila has quit [Ping timeout: 240 seconds]
average has quit [Ping timeout: 258 seconds]
average has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
jlongster has joined #ocaml
Xitsa has joined #ocaml
dreadedfrog has joined #ocaml
jnavila has joined #ocaml
dreadedfrog has quit [Ping timeout: 240 seconds]
iitalics has joined #ocaml
mali__ has joined #ocaml
iitalics has quit [Quit: /thread]
ygrek has joined #ocaml
mali__ has quit [Client Quit]
malina has quit [Ping timeout: 240 seconds]
dreadedfrog has joined #ocaml
FreeBirdLjj has joined #ocaml
djellemah_ has joined #ocaml
zpe has joined #ocaml
djellemah__ has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
zpe_ has joined #ocaml
<shepi> hello!
<shepi> according to OPAM I use core v0.9.1 and core_kernel v0.9.0.
<shepi> where can I find the documentation for these versions?
<shepi> For example, what is the signature of the List module?
<shepi> Starting from here: https://ocaml.janestreet.com/ocaml-core/v0.9/doc/core/index.html I can't seem to find it :-(
<shepi> Or maybe I can, I just noticed the black arrows can be extended, and searching for List on the page, I found Core_kernel__.Std_internal.List, sorry about that ^^
jnavila has quit [Quit: Konversation terminated!]
<shepi> I'm still troubled ... I can't find the signature of the List.mem function :-(
<shepi> nevermind -_-
<shepi> (found it)
slash^ has quit [Read error: Connection reset by peer]
<sapristi> shepi, you can also find the type of an expression by evaluating it in a toplevel
swalk has joined #ocaml
<shepi> that's a good advice, thank you :-)
zpe_ has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 248 seconds]
CcxWrk has quit [Ping timeout: 240 seconds]
malina has joined #ocaml
dejanr has joined #ocaml
<mrvn> They also tend to follow the stdlib as far as that has the module/method too.
Xitsa has quit [Remote host closed the connection]
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
dejanr has quit []
swalk has quit [Quit: swalk]
dejanr has joined #ocaml
MercurialAlchemi has joined #ocaml
tane has quit [Quit: Leaving]
jao has joined #ocaml
copy_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
freusque has joined #ocaml
dejanr has quit []
dejanr has joined #ocaml
swalk has joined #ocaml
dejanr has quit [Client Quit]
dejanr has joined #ocaml
dreadedfrog has quit [Ping timeout: 240 seconds]
swalk has quit [Quit: swalk]
zpe has joined #ocaml
Simn has quit [Quit: Leaving]
swalk has joined #ocaml
freusque has quit [Quit: WeeChat 1.9]
zpe has quit [Ping timeout: 240 seconds]
deep-book-gk_ has joined #ocaml
deep-book-gk_ has left #ocaml [#ocaml]
dejanr has quit []
dejanr has joined #ocaml
dejanr has quit [Client Quit]
argent_smith has quit [Quit: Leaving.]
swalk has quit [Quit: swalk]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0 has quit [Killed (orwell.freenode.net (Nickname regained by services))]
infinity0 has joined #ocaml
<peterpp> I have installed package websocket with `opam install websocket` and it added -lib websocket when compiling with corebuild, but I still get an error: unbound module websocket
<peterpp> what's missing?
<peterpp> I can see the package when doing `ocamlfind list`
sh0t has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
zpe has quit [Ping timeout: 260 seconds]
<octachron> peterpp, "-pkg websocket" rather than "-lib websocket"
<peterpp> octachron, this is what I tried first and it doesn't seem to work... but I discovered that websocket.lwt on its own seems to work
<peterpp> octachron, thanks so much for your helpful anwsers btw!
dreadedfrog has joined #ocaml
pierpa has joined #ocaml
jlongster has joined #ocaml
dreadedfrog has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
jlongster has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<octachron> peterpp, you are welcome. As a general advice, it is quite common that one need to require a subpackage rather than the root package (and these subpackages are not always easily discoverable).
swalk has joined #ocaml
<peterpp> interestingly one of the example programs in the package's github repo has the line `open Websocket`
<peterpp> I removed the line and it compiles and runs perfectly
FreeBirdLjj has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
cbot has quit [Ping timeout: 260 seconds]
mengu has quit [Ping timeout: 255 seconds]
cow-orke1 is now known as cow-orker
copy_ has quit [Quit: Connection closed for inactivity]
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 268 seconds]
andreas_ has quit [Quit: Connection closed for inactivity]
pierpa has quit [Ping timeout: 260 seconds]
peterpp has quit [Ping timeout: 260 seconds]
sh0t has joined #ocaml
orbitz_ has joined #ocaml
orbitz has quit [Read error: Connection reset by peer]
timclassic has quit [Ping timeout: 240 seconds]
yetanotherion[m] has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
smondet[m] has quit [Ping timeout: 240 seconds]
mars0i[m] has quit [Ping timeout: 246 seconds]
srenatus[m] has quit [Ping timeout: 255 seconds]
copy[m] has quit [Ping timeout: 255 seconds]
M-ErkkiSeppl has quit [Ping timeout: 258 seconds]
M-martinklepsch has quit [Ping timeout: 258 seconds]
aspiwack[m] has quit [Ping timeout: 258 seconds]
orbifx[m] has quit [Ping timeout: 264 seconds]
isaachodes[m] has quit [Ping timeout: 264 seconds]
samrat[m] has quit [Ping timeout: 276 seconds]
Bluddy[m] has quit [Ping timeout: 246 seconds]
FreeBirdLjj has joined #ocaml
swalk has quit [Quit: swalk]
M-jimt has quit [Ping timeout: 258 seconds]
hdurer[m] has quit [Ping timeout: 258 seconds]
mengu has joined #ocaml
<infinity0> $ ocamlfind ocamlc; echo $?
<infinity0> 127
<infinity0> do you guys know why this happens on mips (and other architectures without ocamlopt)
ygrek has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Ping timeout: 255 seconds]
mengu has quit [Ping timeout: 240 seconds]
<infinity0> + ocamlc.opt -verbose test.ml
<infinity0> hm turns out it's looking for ocamlc.opt :/
swalk has joined #ocaml
mengu has joined #ocaml
al-damiri has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
srenatus[m] has joined #ocaml
M-martinklepsch has joined #ocaml
samrat[m] has joined #ocaml
aspiwack[m] has joined #ocaml
smondet[m] has joined #ocaml
M-jimt has joined #ocaml
hdurer[m] has joined #ocaml
isaachodes[m] has joined #ocaml
Bluddy[m] has joined #ocaml
regnat[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
orbifx[m] has joined #ocaml
mars0i[m] has joined #ocaml
timclassic has joined #ocaml
M-ErkkiSeppl has joined #ocaml
copy[m] has joined #ocaml
ziyourenxiang has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
Ragora has quit [Quit: Konversation terminated!]
zpe has quit [Ping timeout: 240 seconds]
swalk has quit [Quit: swalk]
rostero has quit [Quit: Connection closed for inactivity]
kakadu_ has quit [Remote host closed the connection]
cbot has joined #ocaml
jlongster has joined #ocaml