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
<Armael> normal ocaml on normal linux
Haudegen has joined #ocaml
<companion_cube> we should rename OCaml into OCamlClassic
<companion_cube> or VanillaML
ygrek has quit [Ping timeout: 245 seconds]
<olle> companion_cube: ok
<olle> undefined reference to `caml_alloc2
<olle> missing package?
<olle> using ocaml 4.05.0
<olle> hm
<olle> nvm, solved
<olle> hm, ocaml doesn't warn about unused variables?
<Armael> not by default
<companion_cube> dune will enable that though
olle has quit [Ping timeout: 246 seconds]
Haudegen has quit [Remote host closed the connection]
spew has quit [Quit: Connection closed for inactivity]
silver has quit [Read error: Connection reset by peer]
mfp has quit [Ping timeout: 246 seconds]
assemblyman has joined #ocaml
assemblyman has left #ocaml [#ocaml]
AnAverageHuman has joined #ocaml
_whitelogger has joined #ocaml
q9929t has joined #ocaml
gravicappa has joined #ocaml
ggole has joined #ocaml
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 245 seconds]
kvda has joined #ocaml
ziyourenxiang has quit [Ping timeout: 268 seconds]
iovec has joined #ocaml
AnAverageHuman has quit [Remote host closed the connection]
AnAverageHuman has joined #ocaml
marvin2 has quit [Ping timeout: 255 seconds]
q9929t has quit [Quit: q9929t]
AnAverageHuman has quit [Ping timeout: 256 seconds]
omarramo has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
omarramo has quit [Ping timeout: 255 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
shmibs_ has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Write error: Broken pipe]
shmibs has quit [Quit: leaving =o]
Enjolras has quit [Remote host closed the connection]
shmibs_ is now known as shmibs
lukky513 has quit [Ping timeout: 249 seconds]
pepesza has quit [Ping timeout: 249 seconds]
pepesza has joined #ocaml
Enjolras has joined #ocaml
MasseR has quit [Ping timeout: 272 seconds]
rixed has quit [Ping timeout: 272 seconds]
rixed has joined #ocaml
companion_cube has quit [Ping timeout: 246 seconds]
companion_cube has joined #ocaml
MasseR has joined #ocaml
lukky513 has joined #ocaml
olle has joined #ocaml
kakadu_ has joined #ocaml
Enjolras has quit [Changing host]
Enjolras has joined #ocaml
FreeBirdLjj has joined #ocaml
bartholin has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Amaan_ is now known as Amaan
asymptotically has joined #ocaml
tane has joined #ocaml
pierpal has quit [Remote host closed the connection]
mfp has joined #ocaml
jnavila has joined #ocaml
ravenousmoose has joined #ocaml
picolino has quit [Ping timeout: 268 seconds]
picolino has joined #ocaml
picolino has quit [Ping timeout: 245 seconds]
picolino has joined #ocaml
picolino has quit [Ping timeout: 246 seconds]
picolino has joined #ocaml
Anarchos has joined #ocaml
picolino has quit [Ping timeout: 246 seconds]
Haudegen has joined #ocaml
silver has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tane has quit [Quit: Leaving]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
ravenousmoose has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
sz0 has joined #ocaml
h11 has quit [Remote host closed the connection]
h11 has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has joined #ocaml
ravenousmoose has joined #ocaml
tane has joined #ocaml
pierpal has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ocaml
<aecepoglu[m]> Do you use any language servers (if any) other than freeboccolo/ocaml-language-server or jaredly/reason-language-server ?
<def`> development version of merlin includes a language server
<def`> in my experience, it is much more stable than ocaml-language-server
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AnAverageHuman has joined #ocaml
olle has quit [Ping timeout: 246 seconds]
ravenousmoose has joined #ocaml
ravenousmoose has quit [Client Quit]
ygrek has joined #ocaml
olle has joined #ocaml
KeyJoo has joined #ocaml
KeyJoo has quit [Ping timeout: 245 seconds]
KeyJoo has joined #ocaml
dhil has joined #ocaml
olle has quit [Ping timeout: 255 seconds]
kalio_ has quit [Quit: WeeChat 2.3]
kalio has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
jao has joined #ocaml
omarramo has joined #ocaml
olle has joined #ocaml
asymptotically is now known as pastor_mike59
omarramo has quit [Ping timeout: 272 seconds]
dhil has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
gravicappa has quit [Ping timeout: 246 seconds]
webshinra has quit [Remote host closed the connection]
ggole has quit [Quit: Leaving]
andreas__ has joined #ocaml
ravenousmoose has joined #ocaml
Geimhreadh has joined #ocaml
<olle> hi ho
<olle> so I can write
<olle> let Some foo = get_something bar in ...
<olle> but of course I have to check for None too
<olle> Do I have to use match for this?
<olle> No one working a Saturday evening?
<olle> Everybody out demonstrating on Paris' streets?
<Armael> yes you have to use match for this
<octachron> or map/bind
<olle> Go gilets jaunes!
<olle> Armael: Thanks.
andreas__ has left #ocaml [#ocaml]
cuvius has joined #ocaml
<olle> I'm surprised there's no syntactic sugar for deal with matching option types. :P
<cuvius> I'm writing some bindings to a C library using Ctypes. The library runs on a separate thread. I register callbacks with the library from my main thread (OCaml land). Due to the semantics of the C library, this callback may either be invoked immediately when registered (on the main thread) or at some later point (on the separate thread). If I use funptr ~runtime_lock:true (http://ocamllabs.io/ocaml-ctypes/Foreign.html#VALfunptr),
<cuvius> then I get a deadlock when the callback runs on the main thread, since the runtime lock is already held. Thoughts on how to work around this? Can I determine in C whether the runtime lock is already held? Or maybe what thread I'm running as without holding the runtime lock?
<olle> How do I annotate the type of a new record instance?
<olle> Like, {id; foo_list} : RecordType
<olle> Wait, that worked. Ignore.
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiceGuid has joined #ocaml
ravenousmoose has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
omarramo has joined #ocaml
olle has quit [Ping timeout: 250 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olle has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
dxtr has left #ocaml [#ocaml]
sagax has quit [Ping timeout: 246 seconds]
webshinra has joined #ocaml
sagax has joined #ocaml
sagax has quit [Read error: Connection reset by peer]
sagax has joined #ocaml
tane has quit [Quit: Leaving]
johnelse has quit [Ping timeout: 245 seconds]
johnelse has joined #ocaml
Geimhreadh has quit [Ping timeout: 255 seconds]
jbrown has joined #ocaml
jnavila has quit [Remote host closed the connection]
kakadu_ has quit [Remote host closed the connection]
JimmyRcom has joined #ocaml
KeyJoo has quit [Quit: KeyJoo]
pastor_mike59 has quit [Quit: Leaving]
jbrown has quit [Ping timeout: 258 seconds]
MarcWeber has quit [Remote host closed the connection]
iovec has quit [Quit: Connection closed for inactivity]