companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
wingsorc has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
bibi_ has quit [Ping timeout: 258 seconds]
bibi_ has joined #ocaml
grobe0ba has quit [Server closed connection]
grobe0ba has joined #ocaml
dme2 has quit [Server closed connection]
dme2 has joined #ocaml
cross has quit [Server closed connection]
cross has joined #ocaml
Leonidas has quit [Server closed connection]
Leonidas has joined #ocaml
Soni has quit [Server closed connection]
soni_ is now known as soni
SoniEx2 has joined #ocaml
edr has quit [Quit: Leaving]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
lobo has quit [Server closed connection]
lobo has joined #ocaml
hannes has quit [Server closed connection]
hannes has joined #ocaml
sintheta has left #ocaml [#ocaml]
waleee has quit [Ping timeout: 255 seconds]
energizer has quit [Server closed connection]
energizer has joined #ocaml
GreaseMonkey has quit [Remote host closed the connection]
greaser|q has joined #ocaml
wingsorc has quit [Ping timeout: 240 seconds]
yoyofreeman has quit [Quit: Leaving]
hsw_ has joined #ocaml
hsw has quit [Ping timeout: 255 seconds]
habnabit_ has quit [Server closed connection]
habnabit_ has joined #ocaml
Serpent7776 has joined #ocaml
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
hexology has quit [Server closed connection]
hexology has joined #ocaml
mstevens has quit [Server closed connection]
mstevens has joined #ocaml
dnh has joined #ocaml
terrorjack has quit [Ping timeout: 246 seconds]
SoniEx2 has quit [Ping timeout: 240 seconds]
SoniEx2 has joined #ocaml
kurfen has joined #ocaml
kurfen_ has quit [Ping timeout: 268 seconds]
xgqt has quit [Server closed connection]
xgqt has joined #ocaml
terrorjack has joined #ocaml
Anarchos has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bartholin has quit [Quit: Leaving]
lisq has quit [Server closed connection]
lisq has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
arya_elfren has joined #ocaml
dnh has joined #ocaml
mro has quit [Remote host closed the connection]
yziquel has joined #ocaml
noddy has quit [Server closed connection]
noddy has joined #ocaml
Anarchos has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
pieguy128 has quit [Server closed connection]
pieguy128 has joined #ocaml
SquidDev has quit [Server closed connection]
SquidDev has joined #ocaml
Ella has quit [Server closed connection]
Ella has joined #ocaml
kurfen has quit [Ping timeout: 260 seconds]
kurfen has joined #ocaml
yziquel has quit [Ping timeout: 250 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
pippijn has quit [Ping timeout: 264 seconds]
pippijn has joined #ocaml
oriba has joined #ocaml
<oriba> I use opam but want to create a package for Arch's AUR, with the assumption that opam ius not used/installed...
<oriba> what env variables can/need to be changed to make that happen?
<oriba> or is this a hopeless undertaking?
Anarchos has quit [Ping timeout: 260 seconds]
<oriba> looks like a cross-compilation issue: I want to use the opam-stuff to compile and install, but to a path without opam...
hrberg has quit [Server closed connection]
yziquel has joined #ocaml
Anarchos has joined #ocaml
Riviera has quit [Server closed connection]
Riviera has joined #ocaml
farn has quit [Server closed connection]
farn has joined #ocaml
euouae has joined #ocaml
<euouae> Hello
<Anarchos> hello
<euouae> for /usr/local/include
<euouae> I feel like submitting a patch, esp. since 3.11+ deprecates relative paths in installation with ../
johnel has quit [Server closed connection]
johnel has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
xd1le has joined #ocaml
patrick has quit [Killed (zinc.libera.chat (Nickname regained by services))]
patrick__ has joined #ocaml
pgiarrusso has quit [Server closed connection]
pgiarrusso has joined #ocaml
end has quit [Server closed connection]
patrick__ is now known as patrick
end has joined #ocaml
waleee has joined #ocaml
patrick is now known as Guest9877
Guest9877 has quit [Killed (tungsten.libera.chat (Nickname regained by services))]
patrick__ has joined #ocaml
<euouae> I e-mailed a Dune developer and let's see what happens
Anarchos has joined #ocaml
yziquel has quit [Quit: Ping timeout (120 seconds)]
palainp has quit [Server closed connection]
palainp has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
amk has quit [Server closed connection]
amk has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yziquel has joined #ocaml
rak has quit [Server closed connection]
rak has joined #ocaml
philipwhite has quit [Server closed connection]
philipwhite has joined #ocaml
dnh has joined #ocaml
jyc__ has quit [Read error: Connection reset by peer]
jyc__ has joined #ocaml
Johann has quit [Server closed connection]
Johann has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
mro has joined #ocaml
steenuil has quit [Server closed connection]
steenuil has joined #ocaml
mro has quit [Remote host closed the connection]
troydm has quit [Server closed connection]
troydm has joined #ocaml
bartholin has joined #ocaml
yziquel has quit [Quit: Client closed]
ggb has quit [Server closed connection]
ggb has joined #ocaml
xd1le has quit [Quit: xd1le]
dnh has quit [Ping timeout: 268 seconds]
dnh has joined #ocaml
motherfsck has quit [Ping timeout: 264 seconds]
euouae has quit []
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jakzale has quit [Server closed connection]
jakzale has joined #ocaml
Serpent7776 has quit [Ping timeout: 260 seconds]
edr has joined #ocaml
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ocaml
TrillionEuroNote has quit [Server closed connection]
TrillionEuroNote has joined #ocaml
dnh has joined #ocaml
<discocaml> <kakadu18> Is it possible to construct an example, where OCaml pattern matching check a tag twice, i.e. behaves a backtracking automata?
<discocaml> <kakadu18> The Maranget 2008 paper says that ' The optimizing compiler of Le Fessant and Maranget (2001) somehow alleviates this problem.' and it sound kind of vague
<companion_cube> sounds like a question for discuss.ocaml.org
<discocaml> <contextfreebeer> I'm curious to know the answer too
dnaq has joined #ocaml
<discocaml> <kakadu18> I think, it is still possible.
motherfsck has joined #ocaml
nfc has quit [Server closed connection]
nfc has joined #ocaml
whereiseveryone has quit [Server closed connection]
whereiseveryone has joined #ocaml
_alix has quit [Server closed connection]
_alix has joined #ocaml
brettgilio has quit [Server closed connection]
brettgilio has joined #ocaml
Tuplanolla has joined #ocaml
omentic has joined #ocaml
omentic has quit [Client Quit]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
immutable has quit [Server closed connection]
immutable_ has joined #ocaml
<discocaml> <omentic> hello, curious if you all are aware of https://www.ocamlwiki.com/
<discocaml> <omentic> it appears to be an entirely chatgpt-generated wiki (poorly generated, thankfully) that's somehow got better SEO than the official documentation
<discocaml> <bluddy5> huh
<discocaml> <omentic> yeah not great
<discocaml> <omentic> some choice articles:
<discocaml> <._null._> Where are you that it has better SEO ? It's not the case for me
dnaq has quit [Remote host closed the connection]
<discocaml> <._null._> Ok I see it for this one
<discocaml> <bluddy5> looks like it fools duckduckgo but not google
<discocaml> <omentic> i've no idea what would prompt someone to generate a fake _wiki_, of all things. presumably they're trying to get good SEO now and then fill it full of ads or something?
<discocaml> <omentic> it rubs me the wrong way, quite a bit
Anarchos has joined #ocaml
<discocaml> <bluddy5> They'll pepper it with references to their other sites, driving up their SEO value.
myrkraverk_ has quit [Ping timeout: 264 seconds]
dnaq has joined #ocaml
toastal has quit [Server closed connection]
toastal has joined #ocaml
henrytill has quit [Server closed connection]
henrytill has joined #ocaml
soni has quit [Server closed connection]
soni has joined #ocaml
sleepydog has quit [Server closed connection]
sleepydog has joined #ocaml
rwmjones has quit [Ping timeout: 260 seconds]
rwmjones has joined #ocaml
euouae has joined #ocaml
Ankhers has quit [Server closed connection]
Ankhers has joined #ocaml
<discocaml> <contextfreebeer> `Despite being a statically typed language with an expressive type system that documents the shape of data quite well, OCaml code can still benefit from regular, well-written comments.`
<discocaml> <contextfreebeer>
<discocaml> <contextfreebeer> this is what gives it away as a fake
<discocaml> <._null._> Whereas the page on Burgers looked legit ?
<discocaml> <._null._> Whereas the page on burgers looked legit ?
<euouae> sigh is this still about the ocaml wiki?
<euouae> contextfreebeer: I am close to finishing my tutorial but I hit a snag :) dune apparently can't deal with installing C headers properly
<discocaml> <._null._> Better not call it like that, for how poor of a wiki it is
<discocaml> <._null._> But yes, ocamlwiki.com
<euouae> that's what I meant
<euouae> it's apparent it's fake because there's only 1 author
<euouae> Nobody would write that meticulous a wiki on their own, on such a subject such as OCaml
<euouae> So I have to use 2 build systems. Are you still interested in such a solution contextfreebeer?
<discocaml> <contextfreebeer> and the contact email is `email: info@theresawikiforthat.com`, uh, somehow that doesn't seem like somebody invested in OCaml lol
<discocaml> <contextfreebeer> euouae: Hm, what were you doing again exactly? but sure I would be interested in seeing for sure, but don't go out of your way
<discocaml> <contextfreebeer> oh wow there really is a page on burgers haha
<euouae> I'm not going out of my way, it's just a question of whether I publish my personal notes or not
<discocaml> <contextfreebeer> Then sure I would be interested in taking a look
<euouae> I was trying to write a dune project that takes Coq, extracts to OCaml, and then creates a C library out of it
<euouae> I managed all that, but I can't install the C library to the system via dune.
<discocaml> <contextfreebeer> Ah, that's interesting
<discocaml> <contextfreebeer> it generates headers that you must install?
<euouae> yeah
<discocaml> <contextfreebeer> I'm sure there is a way to arbitrarily install files in Dune, there must be
<euouae> Maybe there is, but I'm not sure if that is proper. You need a proper build system to correctly install files like those
<euouae> the .so needs to be properly named and the headers should go to the right place
<discocaml> <contextfreebeer> true, but, just to get it to work as a proof of concept
<euouae> well I could go further than a proof of concept
<euouae> I thought about showing how it's done with dune + CMake or + meson or + autotools
<euouae> The whole project is a way to fast-track people into formally verified C libraries, although in industry it's done via other means typically, not via OCaml extraction
<discocaml> <contextfreebeer> well you already raised the issue right? seems like it's just an oversight that include paths are missing
neiluj has joined #ocaml
<euouae> It's a character flaw of mine I get more excited if others seem interested
<euouae> :P
<euouae> (if you're wondering why I brought it up)
<neiluj> hi! what do you think of writing code where all the functions it uses are arguments of a functor, making the code not tied to a particular library
<neiluj> then the functor is instantiated with the desired correct types and functions
<neiluj> isn't it a bit overkill?
<neiluj> it could be nice if the underlying API changes a lot
<euouae> It's never nice when the underlying API changes a lot :P
<discocaml> <contextfreebeer> euouae: yeah I see. personally, I'm only interested in the OCaml extraction part since examples of those projects are somewhat lacking
<euouae> Got it! I'll post an example
euouae has quit []
seeg has quit [Server closed connection]
seeg has joined #ocaml
richardhuxton has quit [Server closed connection]
richardhuxton has joined #ocaml
Anarchos has quit [Quit: time to sleep somewhere on earth]
arya_elfren has quit [Server closed connection]
arya_elfren has joined #ocaml
ymherklotz has quit [Server closed connection]
ymherklotz has joined #ocaml
b0o has quit [Server closed connection]
b0o has joined #ocaml
bartholin has quit [Quit: Leaving]
pluviaq has quit [Server closed connection]
pluviaq has joined #ocaml
wingsorc has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
<greenbagels> hm
<greenbagels> is there a linear algebra library that allows you to make a matrix type from a 2d array
<greenbagels> defining thes things with array literals is so much easier than having to define functions to define each element of the array...
neiluj has quit [Quit: WeeChat 3.8]
<greenbagels> i guess i could declare the literal, iterate over it, and set the matrix elements equal to it...
sadiq has quit [Server closed connection]
sadiq has joined #ocaml