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
marcux has joined #ocaml
ziyourenxiang has joined #ocaml
lncrz has quit [Remote host closed the connection]
shinnya has joined #ocaml
pierpa has joined #ocaml
gacepa has quit [Quit: Connection closed for inactivity]
eh_eff has quit [Ping timeout: 248 seconds]
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 240 seconds]
enterprisey has joined #ocaml
madroach has quit [Ping timeout: 258 seconds]
madroach has joined #ocaml
demonimin has quit [Ping timeout: 240 seconds]
demonimin has joined #ocaml
demonimin has quit [Changing host]
demonimin has joined #ocaml
marcux has quit [Ping timeout: 260 seconds]
jbrown has quit [Ping timeout: 240 seconds]
yawaramin_ has quit [Ping timeout: 258 seconds]
enterprisey has quit [Remote host closed the connection]
enterprisey has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
enterprisey has joined #ocaml
ristos has quit [Quit: Connection closed for inactivity]
yawaramin_ has joined #ocaml
enterprisey has quit [Remote host closed the connection]
enterprisey has joined #ocaml
enterprisey has quit [Remote host closed the connection]
enterprisey has joined #ocaml
enterprisey has quit [Read error: Connection reset by peer]
eh_eff has joined #ocaml
enterprisey has joined #ocaml
mfp__ has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
eh_eff has quit [Ping timeout: 260 seconds]
ziyourenxiang has quit [Ping timeout: 258 seconds]
enterprisey has quit [Remote host closed the connection]
xuanrui has joined #ocaml
nicoo has quit [Ping timeout: 248 seconds]
pierpa has quit [Quit: Page closed]
shinnya has quit [Ping timeout: 248 seconds]
enterprisey has joined #ocaml
samrat has quit [Ping timeout: 248 seconds]
kerrhau has quit [Quit: bye!]
jpdeplaix has quit [Ping timeout: 248 seconds]
jpdeplaix has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
xuanrui has quit [Remote host closed the connection]
eh_eff has joined #ocaml
samrat has joined #ocaml
xuanrui has joined #ocaml
yawaramin_ has quit [Ping timeout: 258 seconds]
samrat has quit [Ping timeout: 248 seconds]
eh_eff has quit [Ping timeout: 248 seconds]
mal`` has quit [Quit: Leaving]
mal`` has joined #ocaml
yawnt has quit [Ping timeout: 264 seconds]
yawnt has joined #ocaml
xuanrui has quit [Quit: Leaving]
xuanrui has joined #ocaml
Fardale_ has quit [Ping timeout: 246 seconds]
igmp has quit [Ping timeout: 240 seconds]
tobiasBora has quit [Ping timeout: 255 seconds]
Fistine has quit [Ping timeout: 258 seconds]
cbot_ has quit [Quit: Leaving]
samrat has joined #ocaml
Fistine has joined #ocaml
igmp has joined #ocaml
tobiasBora has joined #ocaml
Fardale_ has joined #ocaml
ziyourenxiang has joined #ocaml
jnavila has joined #ocaml
MercurialAlchemi has joined #ocaml
Fistine has quit [Ping timeout: 246 seconds]
Fardale_ has quit [Ping timeout: 248 seconds]
igmp has quit [Ping timeout: 260 seconds]
jnavila has quit [Ping timeout: 264 seconds]
tobiasBora has quit [Ping timeout: 260 seconds]
Fistine has joined #ocaml
Fardale_ has joined #ocaml
tobiasBora has joined #ocaml
igmp has joined #ocaml
infinity0 has quit [Ping timeout: 246 seconds]
infinity0 has joined #ocaml
mbuf has joined #ocaml
mbuf has quit [Excess Flood]
AltGr has joined #ocaml
Simn has joined #ocaml
rvense has quit [Ping timeout: 248 seconds]
dakk has joined #ocaml
argent_smith has joined #ocaml
nahra has quit [Remote host closed the connection]
mnemem has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
mengu has joined #ocaml
enterprisey has quit [Read error: Connection reset by peer]
def` has quit [Ping timeout: 240 seconds]
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 258 seconds]
AltGr has quit [Remote host closed the connection]
martintrojer has quit [Ping timeout: 240 seconds]
mfp__ has joined #ocaml
mnemem has joined #ocaml
mengu has quit [Ping timeout: 248 seconds]
nicoo has joined #ocaml
ristos has joined #ocaml
mengu has joined #ocaml
samrat has quit [Ping timeout: 258 seconds]
nahra has joined #ocaml
samrat has joined #ocaml
AltGr has joined #ocaml
sepp2k has joined #ocaml
samrat has quit [Ping timeout: 264 seconds]
silver has joined #ocaml
shinnya has joined #ocaml
freusque has quit [Ping timeout: 240 seconds]
freusque has joined #ocaml
kakadu has joined #ocaml
mengu has quit [Remote host closed the connection]
sh0t has joined #ocaml
jbrown has joined #ocaml
ShalokShalom_ has joined #ocaml
ShalokShalom has quit [Ping timeout: 248 seconds]
Soni has quit [Ping timeout: 258 seconds]
Soni has joined #ocaml
thomasga has joined #ocaml
<thomasga> hey there. Is there an easy way to have a bimodal lexer with ocamllex (e.g. with context dependent tokens)?
<thomasga> something like: `rule foo = match !global with Foo -> parser … | Bar -> parser ….`
<thomasga> hum, actually I can have a global function outside of the lexer which can just do that
copy_ has joined #ocaml
mbuf has quit [Quit: Leaving]
mengu has joined #ocaml
thomasga has quit [Quit: Leaving.]
mengu has quit [Ping timeout: 248 seconds]
<rubberduckreynir> Is it possible to use latest lwt.ppx with jbuilder now?
MercurialAlchemi has quit [Ping timeout: 246 seconds]
Soni has quit [Ping timeout: 248 seconds]
<ristos> thomasga what's the use case for a bimodal lexer?
thomasga has joined #ocaml
MercurialAlchemi has joined #ocaml
mengu has joined #ocaml
<rubberduckreynir> Oh... specifying lwt.ppx instead of lwt.unix helps
* rubberduckreynir lives up to his new nick
thomasga has quit [Client Quit]
thomasga has joined #ocaml
thomasga has left #ocaml [#ocaml]
mbuf has joined #ocaml
Soni has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 246 seconds]
<Leonidas> rubberduckreynir: are you using ppx-driver.runner as well?
<rubberduckreynir> I don't think so. I put (preprocess (pps (lwt.ppx))) in my jbuild
<Leonidas> rubberduckreynir: one of my coworker has indeed a rubber duck on this desk.
<rubberduckreynir> Nice!
ShalokShalom_ has quit [Quit: No Ping reply in 180 seconds.]
ShalokShalom has joined #ocaml
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
MercurialAlchemi has joined #ocaml
xuanrui has quit [Quit: Leaving]
yawaramin_ has joined #ocaml
Simn has quit [Ping timeout: 240 seconds]
mnemem has quit [Read error: Connection reset by peer]
silver has quit [Quit: rakede]
Denommus has joined #ocaml
mengu has quit [Remote host closed the connection]
tokenrove has quit [Ping timeout: 246 seconds]
mnemem has joined #ocaml
al-damiri has joined #ocaml
tokenrove has joined #ocaml
sz0 has joined #ocaml
yawaramin_ has quit [Ping timeout: 246 seconds]
yawaramin_ has joined #ocaml
eh_eff has joined #ocaml
yawaramin_ is now known as yawaramin
eh_eff has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 248 seconds]
superherointj has joined #ocaml
govg has quit [Ping timeout: 246 seconds]
mnemem_ has joined #ocaml
superherointj has quit [Quit: Leaving]
mnemem has quit [Ping timeout: 248 seconds]
silver has joined #ocaml
slash^ has joined #ocaml
mbuf has quit [Quit: Leaving]
yawaramin_ has joined #ocaml
jao has joined #ocaml
yawaramin has quit [Ping timeout: 255 seconds]
Simn has joined #ocaml
marcux has joined #ocaml
mnemem has joined #ocaml
mnemem_ has quit [Ping timeout: 240 seconds]
mengu has joined #ocaml
silver has quit [Quit: rakede]
<Denommus> hey
<Denommus> anyone using reason?
marcux has quit [Ping timeout: 248 seconds]
eh_eff has joined #ocaml
<yawaramin_> hi. a lot of people are but they hang out at the ReasonML Discord. i'm there as well, because i wanna see what's going on and i plan to use Reason when the new syntax is released...
yawaramin_ is now known as yawaramin
ziyourenxiang has quit [Ping timeout: 248 seconds]
<Denommus> yawaramin: ah, so there's a discord! Ok, I'll check
<yawaramin> yup discord.gg/reasonml
<kakadu> Can somebody give me a piece of advice about loading plugins? https://discuss.ocaml.org/t/about-plugins-and-ppx-deriving/914
ygrek has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
<Denommus> can opam switch to a diferent compiler on a per project basis, like rbenv?
<kakadu> I remember something like that in opam 2.0
<yawaramin> opam 2 supports that, but for <2 you'll need to do it a bit more manually
<Denommus> ok, thanks
eh_eff has quit [Ping timeout: 240 seconds]
eh_eff has joined #ocaml
yawaramin_ has joined #ocaml
yawaramin has quit [Ping timeout: 246 seconds]
nicoo has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 255 seconds]
nicoo has joined #ocaml
peterpp has joined #ocaml
andreas__ has quit [Quit: Connection closed for inactivity]
<Denommus> is reason compatible with OCaml?
<Denommus> can I use OCaml React with ReactJS, for instance?
yawaramin has joined #ocaml
yawaramin_ has quit [Ping timeout: 258 seconds]
samrat has joined #ocaml
aciniglio has joined #ocaml
enterprisey has joined #ocaml
<ristos> Denommus reason vs ocaml is like coffescript vs javascript
<ristos> it's like prettier syntax for ocaml, and it supports JSX
<ristos> the JSX is library agnostic, but there's bindings for react js
<yawaramin> it's quite clever, e.g. `<MyComponent name="Bob" />` gets turned into (essentially) `MyComponent.make ~name:"Bob"`
<yawaramin> meaning any module that has `make` functions like this can support JSX
kakadu has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
<Denommus> I see it has a cool syntax to combine records, {...foo, bar: "baz"}
<ristos> yeah it's really cool
webshinra has quit [Remote host closed the connection]
webshinra has joined #ocaml
Algebr has joined #ocaml
yawaramin_ has joined #ocaml
yawaramin has quit [Ping timeout: 246 seconds]
yawaramin_ has quit [Ping timeout: 258 seconds]
jnavila has quit [Ping timeout: 258 seconds]
yawaramin_ has joined #ocaml
samrat has quit [Ping timeout: 248 seconds]
yawaramin_ has quit [Ping timeout: 258 seconds]
jcelerier has quit [Quit: WeeChat 1.9.1]
kakadu has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 240 seconds]
enterprisey has quit [Ping timeout: 248 seconds]
dakk has quit [Ping timeout: 246 seconds]
peterpp has quit [Quit: Ex-Chat]
mengu has quit [Remote host closed the connection]
peterpp has joined #ocaml
mengu has joined #ocaml
enterprisey has joined #ocaml
Algebr has quit [Ping timeout: 240 seconds]
ayxih has joined #ocaml
mengu has quit [Remote host closed the connection]
eh_eff has quit [Ping timeout: 248 seconds]
shinnya has joined #ocaml
mengu has joined #ocaml
AltGr has left #ocaml [#ocaml]
philtor has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
Algebr has joined #ocaml
enterprisey has quit [Remote host closed the connection]
philtor has joined #ocaml
pierpa has joined #ocaml
copy_ has quit [Quit: Connection closed for inactivity]
enterprisey has joined #ocaml
andreas__ has joined #ocaml
tg has quit [Quit: Leaving]
_andre has quit [Quit: leaving]
jnavila has quit [Remote host closed the connection]
jao has joined #ocaml
eh_eff has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
eh_eff has quit [Quit: WeeChat 1.7]
pmetzger has joined #ocaml
<pmetzger> having a bunch of trouble with ocamlfind not finding a library for me. I'm doing work with the ocaml llvm bindings and I can't seem to be able to find the llvm_analysis module.
<pmetzger> llvm_analysis.(cmx|cmi) and libllvm_analysis.a are in my .opam hierarchy...
<pmetzger> Probably finally time for me to understand this stuff.
<octachron> pmetzger, if you are using ocamlfind directly, you can add "-only-show" to look at which directory ocamlfind is including
<pmetzger> ooh. thanks. Will try that ASAP.
<pmetzger> still not printing much. just saying "ocamlfind: Package `llvm_analysis' not found"
<pmetzger> (I tried "-package llvm_analysis" when "-package llvm" didn't find llvm_analysis. Honestly quite confused about how the build system stuff works still. It's very complicated for a beginner.)
<octachron> pmetzger, in this case, you should look at the META files in your directory that contains the "llvm_analysis" files to learn what is the package name
<pmetzger> .opam/4.05.0/lib/llvm/ doesn't have a file named META
<pmetzger> (I'm a real beginner at this stuff, please forgive my utter ignorance.)
<pmetzger> Ah, but ...lib has META.llvm!
peterpp has quit [Remote host closed the connection]
<pmetzger> which contains a stanza for "analysis"! which refers to a cmxa file!?
<pmetzger> (of which there is none.)
<pmetzger> ah, but lib/llvm/static has it.
<octachron> pmetzger, this might be a llvm.analysis subpackage
<pmetzger> so my mistake is referring to it as llvm_analysis and not llvm.analysis? I can try that fast.
<pmetzger> it worked!
<pmetzger> okay,
<pmetzger> I'm now officially confused about how I should have known that. :)
<pmetzger> but it did what I needed.
<octachron> pmetzger, a way for finding subpackage is "ocamlfind list | grep llvm"
<pmetzger> thank you.
<octachron> but yes, there is some discoverability problem for subpackages
<pmetzger> I'd say that as a beginner, the single hardest thing about ocaml is dealing with the tooling. you need to understand it well _immediately_ or you can't build your programs to run them.
<pmetzger> but it's very convoluted.
<pmetzger> much more complicated than for any other language I've dealt with. OTOH the rest of OCaml is very very pleasant, so I suppose it balances out. :)
mengu has quit [Remote host closed the connection]
enterprisey has quit [Remote host closed the connection]
mengu has joined #ocaml
enterprisey has joined #ocaml
sepp2k has quit [Quit: Leaving.]
mnemem has quit [Read error: Connection reset by peer]
mnemem has joined #ocaml
pmetzger_ has joined #ocaml
pmetzger has quit [Read error: Connection reset by peer]
yawaramin_ has joined #ocaml
yawaramin_ has quit [Remote host closed the connection]
ayxih has quit [Quit: Leaving]
argent_smith has quit [Quit: Leaving.]
Denommus has quit [Quit: going home]
Algebr has quit [Ping timeout: 264 seconds]
kakadu_ has quit [Remote host closed the connection]
cbot has joined #ocaml
mnemem has quit [Ping timeout: 258 seconds]
dejanr has quit [Ping timeout: 248 seconds]
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
dejanr has joined #ocaml
enterprisey_ has joined #ocaml
enterprisey has quit [Ping timeout: 260 seconds]
mengu has quit [Quit: Leaving...]
mnemem has joined #ocaml
ziyourenxiang has joined #ocaml
pierpa has quit [Quit: Page closed]
kerrhau has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
mnemem has quit [Ping timeout: 248 seconds]
kerrhau has quit [Ping timeout: 240 seconds]