companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Haudegen has quit [Quit: Bin weg.]
Frostillicus has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ocaml
humasect has joined #ocaml
humasect has quit [Remote host closed the connection]
humasect has joined #ocaml
humasect has quit [Ping timeout: 276 seconds]
humasect has joined #ocaml
humasect has quit [Ping timeout: 252 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
szkl has joined #ocaml
remexre has quit [Ping timeout: 260 seconds]
remexre has joined #ocaml
humasect has joined #ocaml
humasect has quit [Ping timeout: 260 seconds]
toastal has joined #ocaml
jsoo has quit [Quit: ZNC 1.9.1 - https://znc.in]
jsoo has joined #ocaml
bartholin has joined #ocaml
Frostillicus has joined #ocaml
m5zs7k_ has joined #ocaml
Haudegen has joined #ocaml
m5zs7k has quit [Ping timeout: 252 seconds]
m5zs7k_ is now known as m5zs7k
Frostillicus has quit [Ping timeout: 248 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 245 seconds]
Everything has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
<hanker> Is there a way to get conditional compilation in OCaml? Like there is with `#ifdef DEBUG` in C
<discocaml> <contificate> Can do rules in dune to generate a module dynamically
<zor> hanker: not built-in, I don't think, but there's 3rd party things, e.g. https://github.com/ocaml-community/cppo
toastal has left #ocaml [#ocaml]
<hanker> > hanker: not built-in, I don't think, but there's 3rd party things, e.g. https://github.com/ocaml-community/cppo
<hanker> i already have a ppx :/ sadly it seems cppo and ppxs aren't compatible in a single file
Anarchos has joined #ocaml
toastal has joined #ocaml
Frostillicus has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
Frostillicus has quit [Remote host closed the connection]
Frostillicus has joined #ocaml
<zor> I haven't used it, but it does claim to work with ppxs, so there might be a way...
Frostillicus has quit [Ping timeout: 248 seconds]
<discocaml> <otini_> there is https://ocaml.org/p/ppx_optcomp/latest
Haudegen has quit [Quit: Bin weg.]
humasect has joined #ocaml
humasect has quit [Ping timeout: 252 seconds]
Frostillicus has joined #ocaml
bartholin has quit [Remote host closed the connection]
wbooze has quit [Quit: Leaving]
wbooze has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
Frostillicus has joined #ocaml
johnridesabike has joined #ocaml
Haudegen has joined #ocaml
wbooze has quit [Remote host closed the connection]
wbooze has joined #ocaml
wbooze has quit [Quit: Leaving]
Frostillicus has quit [Ping timeout: 276 seconds]
humasect has joined #ocaml
humasect has quit [Ping timeout: 260 seconds]
humasect has joined #ocaml
humasect has quit [Quit: Leaving...]
Frostillicus has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Frostillicus has quit [Ping timeout: 276 seconds]
humasect has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Frostillicus has joined #ocaml
<hanker> > <otini_> there is https://ocaml.org/p/ppx_optcomp/latest
<hanker> Is there a way to make it dependent on Dune profiles?
Frostillicus has quit [Ping timeout: 245 seconds]
Anarchos has joined #ocaml
Frostillicus has joined #ocaml
<discocaml> <vortex1000> Hi , i am Krenar from Albania , i am 23 year old and i have studied computer science . If you are interested to buy a JetBrains licence for 35$ please dm me 🙂 .i can give you all the info you need in dm's if you are interested if not sorry . My discord is vortex1000
<discocaml> <vortex1000> i can even give you the licence first if you add me on facebook
humasect has quit [Remote host closed the connection]
inline has joined #ocaml
Frostillicus has quit [Ping timeout: 252 seconds]
<discocaml> <deepspacejohn> Interesting: https://blog.janestreet.com/introducing-oxcaml/
Haudegen has joined #ocaml
<discocaml> <shadowkestrel> yippeeeee i've been wanting to play with jane street's extensions for a while now, nice to have a more 'official'-feeling way to get them as an outsider
humasect has joined #ocaml
<discocaml> <jwcb_71795> I had trouble getting some 3rd-party packages (odoc, eio) to build on a switch with that version
<discocaml> <deepspacejohn> the whole project looks cool but I personally just care about the minor "quality of life" stuff, haha. At least two of them (labelled tuples and immutable arrays) are on track to be in 5.4!
<discocaml> <sim642> Heh, the date on that post is tomorrow
<discocaml> <deepspacejohn> literally OCaml from the future.
Frostillicus has joined #ocaml
euphores has quit [Quit: Leaving.]
euphores has joined #ocaml
Frostillicus has quit [Ping timeout: 260 seconds]
humasect has quit [Quit: Leaving...]
Tuplanolla has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
Everything has quit [Quit: leaving]
<discocaml> <aguluman> I guess this was the premise to the OxCaml story that dropped today.
<discocaml> <shadowkestrel> they've been working on these things internally for a while, and while their forks were always publically accessible they didn't advertise that fact much
Frostillicus has joined #ocaml
<discocaml> <uberpyro181> i wish the name was a little more different
<discocaml> <undu> I think oxymel would have been very fitting https://en.wikipedia.org/wiki/Oxymel
bartholin has joined #ocaml
<dh`> in what way is making a public fork not hostile?
<dh`> also, > Fearless concurrency: Writing correct concurrent programs is notoriously difficult. OxCaml includes additions to the type system to statically rule out data races.
<dh`> I would say clearly they aren't intending to be taken seriously, except I expect they are
<discocaml> <undu> they do the fork to iterate on the concepts, and are slowly upstreming them, a couple of features have already been upstreamed
<discocaml> <undu> see https://oxcaml.org/documentation/
<companion_cube> dh`: why is a fork necessarily hostile?
Frostillicus has quit [Ping timeout: 252 seconds]
johnridesabike has quit [Quit: johnridesabike]
<discocaml> <yawaramin> forks aren't hostile; people are. and as far as i can tell the Jane Street people have a long-standing, cordial relationship with the OCaml core team
<discocaml> <froyo> definitely not hostile, no question about that. this is a public development branch with the sole intention of upstreaming
<discocaml> <yawaramin> yeah. eg look at this: https://discuss.ocaml.org/t/record-element-types-must-have-a-representable-layout/16807/6?u=yawaramin - this shows a mutually beneficial relationship
<discocaml> <froyo> it is cordial and polite _soft-power_ though...
<discocaml> <froyo> one can't help but wonder what happens if upstream maintainers are unhappy with one of the features and can't see it integrating well with the language but janestreet has already invested a lot in it.
<discocaml> <froyo> do they explain somewhere what their protocol with that would be?
euphores has quit [Ping timeout: 244 seconds]
<discocaml> <froyo> janestreet releases a lot of internally developed libraries to the public. if they decide to maintain an internal feature they invested in it, that means these libraries will have to make some kind of a choice to play nicely with upstream ocaml
<discocaml> <froyo> today that means ppxes and watching out for subtle runtime differences
<discocaml> <polyml> if ocaml doesn't plan on upstreaming stack allocations or unboxed types then it makes sense for jane street to put a pr campaign behind oxcaml since that would make it useful enough to distinguish it from normal ocaml
<companion_cube> It'll be a real fork the day they have their own opam repo I think, and even then
<companion_cube> Sometimes fork end up merging back, eg iojs
euphores has joined #ocaml
bartholin has quit [Remote host closed the connection]
toastal has quit [Ping timeout: 265 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
toastal has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
Frostillicus has joined #ocaml