companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
namkeleser has joined #ocaml
rgrinberg has joined #ocaml
Haudegen has quit [Ping timeout: 240 seconds]
kaph has joined #ocaml
kaph_ has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
namkeleser has quit [Quit: Client closed]
vicfred has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
wingsorc has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 248 seconds]
zebrag has quit [Quit: Konversation terminated!]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
kotrcka has quit [Remote host closed the connection]
mbuf has joined #ocaml
<williewillus> I can't seem to create a 4.12.1 switch. My system ocaml/opam is 4.13.1. When I do `opam switch create 4.12.1" i get an unknown version error.
<williewillus> Even doing one of the sample commands from the release notes "opam switch create 4.12.1+flambda+nnpchecker --package=ocaml-variants.4.12.1+options,ocaml-option-flambda,ocaml-option-nnpchecker" I get an error.
<williewillus> doing opam switch list-available I don't see 4.12.1 anywhere, only 4.12.0. Is something missing?
kaph__ has joined #ocaml
kaph_ has quit [Ping timeout: 246 seconds]
<williewillus> okay I nuked my .opam and recreated and now things show up
<williewillus> oh, was probably just missing an opam update, lol. Sorry for the noise.
gravicappa has joined #ocaml
Sankalp has joined #ocaml
kaph__ has quit [Read error: Connection reset by peer]
gravicappa has quit [Ping timeout: 276 seconds]
Sankalp has quit [Remote host closed the connection]
Sankalp has joined #ocaml
Serpent7776 has joined #ocaml
Sankalp has quit []
Haudegen has joined #ocaml
Sankalp has joined #ocaml
ncl has joined #ocaml
bobo has quit [Ping timeout: 246 seconds]
bobo has joined #ocaml
olle has joined #ocaml
dextaa4 has joined #ocaml
bartholin has joined #ocaml
yhl1219 has joined #ocaml
yhl1219 has quit [Client Quit]
<d_bot> <Le condor du plateau> is there a ppx to generate `is_*` functions for boolean record attributes?
<d_bot> <Le condor du plateau> it's a pretty common pattern so I thought it already existed
Sankalp has quit [Remote host closed the connection]
bartholin has quit [Ping timeout: 272 seconds]
<sim642> There's https://github.com/janestreet/ppx_fields_conv, but it doesn't do any prefixing of the generated accessor functions
Sankalp has joined #ocaml
<sim642> There's also this ppxlib deriver example, which you could probably just change to handle only bool fields and use the prefix you want: https://github.com/ocaml-ppx/ppxlib/tree/main/examples/simple-deriver
<sim642> It's such a small deriver that you could just copy and keep as an internal dune library in your bigger project
bartholin has joined #ocaml
Sankalp has quit [Ping timeout: 272 seconds]
kaph has joined #ocaml
kotrcka has joined #ocaml
kotrcka has quit [Remote host closed the connection]
<d_bot> <Le condor du plateau> perfect, thank you!
Sankalp has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
bartholin has quit [Ping timeout: 272 seconds]
Sankalp_ has joined #ocaml
Sankalp has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
Sankalp_ has quit [Ping timeout: 256 seconds]
gravicappa has joined #ocaml
Sankalp has joined #ocaml
zebrag has joined #ocaml
wingsorc has joined #ocaml
dextaa42 has joined #ocaml
dextaa4 has quit [Ping timeout: 240 seconds]
dextaa42 is now known as dextaa4
dextaa4 has quit [Ping timeout: 272 seconds]
bartholin has quit [Quit: Leaving]
dextaa4 has joined #ocaml
bartholin has joined #ocaml
dextaa4 has quit [Remote host closed the connection]
dextaa4 has joined #ocaml
dextaa4 has quit [Remote host closed the connection]
dextaa4 has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
bartholin has quit [Ping timeout: 256 seconds]
Haudegen has joined #ocaml
bartholin has joined #ocaml
Sankalp has quit []
Sankalp has joined #ocaml
troydm has quit [Ping timeout: 272 seconds]
troydm has joined #ocaml
<d_bot> <Bluddy> what's everybody up to?
vicfred has quit [Quit: Leaving]
<Corbin> I'm compiling to categories: http://conal.net/papers/compiling-to-categories/compiling-to-categories.pdf It's like functors, but less practical.
<d_bot> <Ambika E.> Started writing a version control system in OCaml recently; my plan is to approach it without reading up on anything about them and only equipped with my experiences from using git. Obviously I'll run into many walls this way but i suspect that this will make it a lot more valuable and insightful for me to read about how others solved the common problems that arise when trying to implement these
Anarchos has joined #ocaml
<d_bot> <Alistair> Writing a dissertation for constraint-based typing of OCaml
dextaa4 has quit [Remote host closed the connection]
bartholin has quit [Ping timeout: 276 seconds]
troydm has quit [Ping timeout: 240 seconds]
troydm has joined #ocaml
bartholin has joined #ocaml
<d_bot> <RegularSpatula> Trying to decide between js_of_ocaml and ReScript for some projects
bartholin has quit [Quit: Leaving]
dextaa4 has joined #ocaml
<d_bot> <orbitz> I'm working on getting some bugs out of a project. Getting pretty close
<d_bot> <orbitz> Sounds like a fun way to learn!
<d_bot> <Frisk> At work, patching and vendoring some modules to support rosetta without having to be on a rosetta terminal since we haven't moved from bucklescript to melange yet
<d_bot> <Frisk> At home, poking at hardcaml
<d_bot> <Et7f3 (@me on reply)> I wonder if we can do the same for kernel or AI. For kernel I think you need at least read the documentation for a microprocessor/and of a compiler. And for AI ?
bartholin has joined #ocaml
<d_bot> <Ambika E.> I think it's okay if you need to refer to documentation
<d_bot> <Ambika E.> The goal is to avoid looking at reference implementations, tutorials, and explanations of other implementations
mbuf has quit [Quit: Leaving]
dextaa4 has quit [Ping timeout: 246 seconds]
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<d_bot> <Bluddy> It's going to be hard to beat git, but good luck!
<d_bot> <Bluddy> and enjoy!
<d_bot> <Bluddy> At work I do AI stuff not related to OCaml. At home, I work on my reverse-engineering and reimplementing project for Railroad Tycoon. Super fun.
<d_bot> <Bluddy> And of course I'm doing it in ocaml.
vicfred has joined #ocaml
<d_bot> <Ambika E.> wow
<d_bot> <Ambika E.> any of that open source?
<d_bot> <Ambika E.> sounds super interestnig
<d_bot> <Ambika E.> at work ive been building a p2p networking library and we're starting to wrap up the mvp feature development phase and are moving into the integration tests and benchmarks phase
wingsorc has quit [Ping timeout: 248 seconds]
bartholin has quit [Remote host closed the connection]
bartholin has joined #ocaml
waleee has joined #ocaml
vicfred has quit [Quit: Leaving]
vicfred has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
bobo has quit [Ping timeout: 240 seconds]
bobo has joined #ocaml
dextaa4 has joined #ocaml
dextaa4 has quit [Remote host closed the connection]
dextaa4 has joined #ocaml
vicfred has quit [Ping timeout: 276 seconds]
kaph has joined #ocaml
dextaa4 has quit [Ping timeout: 272 seconds]
vicfred has joined #ocaml
vicfred has quit [Client Quit]
vicfred has joined #ocaml
kaph has quit [Read error: Connection reset by peer]
<d_bot> <josé> Awesome work! just an off-topic question, I thought esy referred to esy.json? Why is it package.json instead here?
<d_bot> <josé> Does esy support that? or does it support passing it as an argument?
xgqt has quit [Quit: WeeChat 3.4.1]
xgqt has joined #ocaml
<d_bot> <infrandomness> Hi guys, I wanted to know if it's fine to ask general programming question here ?
<d_bot> <cod1r> this channel is the "general" channel
<d_bot> <infrandomness> ah yeah won't be able to post code here
<d_bot> <infrandomness> says it spams IRC
<d_bot> <NULL> Either link to a pastebin-like or ask your question in #beginners
<Corbin> For example, you could use https://bpa.st/ to link code. You can use the dropdown to highlight your code as OCaml or other languages.
<d_bot> <infrandomness> right.. anyhow, to any of you that is familiar to the world of compilers, newbie here, with object files that refuses to go through CC after code generation :
<d_bot> <infrandomness> This is a part of my IR code : https://www.toptal.com/developers/hastebin/uhevilageg.rust
<d_bot> <infrandomness> and this is the IR / disassembly of my object file https://www.toptal.com/developers/hastebin/mojucokaqa.yaml
olle has quit [Ping timeout: 240 seconds]
<d_bot> <infrandomness> I tried removing all of the parameters from the main function signature (function u0 in the IR), but that did not help
shawnw has joined #ocaml
gentauro has quit [Ping timeout: 240 seconds]
xgqt has quit [Remote host closed the connection]
xgqt has joined #ocaml
gentauro has joined #ocaml
Haudegen has quit [Ping timeout: 272 seconds]