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/
Anarchos has quit [Quit: Vision[]: i've been blurred!]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 268 seconds]
<discocaml> <geoff> If it's a parameter of a recursive function it wouldn't need to a ref
gwizon has joined #ocaml
azimut has joined #ocaml
kotrcka has left #ocaml [ERC 5.4 (IRC client for GNU Emacs 28.2)]
Anarchos has joined #ocaml
spip has quit [Quit: Konversation terminated!]
Stumpfenstiel has quit [Ping timeout: 248 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 248 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Haudegen has quit [Ping timeout: 252 seconds]
<discocaml> <MasterBuilder> that's what I mean, it is a param now, closing over it would only make sense if it were immutable
<discocaml> <darrenldl> is it fair to say within the linux ecosystem, people don't distinguish between pid and tid that much?
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
<discocaml> <Et7f3 (@me on reply)> Does /proc/$tid/fd/0 is a correct path ? if so I would say yes
<discocaml> <Et7f3 (@me on reply)> I think they are place where the distinction should be made around namespace for instance
keyboard has joined #ocaml
chrisz has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
keyboard has quit [Quit: keyboard]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
scoobybejesus has joined #ocaml
<discocaml> <darrenldl> i believe so yes
<discocaml> <darrenldl> procfs manpage does elaborate a bit more
<discocaml> <darrenldl> ```
<discocaml> <darrenldl> /proc/[tid] subdirectories
<discocaml> <darrenldl> Each one of these subdirectories contains files and
<discocaml> <darrenldl> subdirectories exposing information about the thread with
<discocaml> <darrenldl> the corresponding thread ID. The contents of these
<discocaml> <darrenldl> directories are the same as the corresponding
<discocaml> <darrenldl> /proc/[pid]/task/[tid] directories.
<discocaml> <darrenldl> ```
<scoobybejesus> forgive me for trying to "just make it work" but i am trying to `opam install mad` on freebsd (13.1-RELEASE). Is there a way to modify this file https://github.com/ocaml/opam-repository/blob/master/packages/conf-mad/conf-mad.1/opam to be able to tell it to use `pkg-config --exists libmad`. It would return `0`, since it's installed via pkg. `pkg-config --exists mad` returns `1`, so the install of conf-mad (req'd dep) fails
<scoobybejesus> also hello, and thanks in advance for any tips. i'm no ocaml whiz. i'm just trying to build liquidsoap again on freebsd, and this new dependency of mad is tripping me up
<scoobybejesus> installing mad.0.4.5 will work for now (it seems), but it would be nice to use a current version (0.5.2), so i can build a newer version of liquidsoap. but i don't know how to make opam use a custom repo. seems to involve pinning, i guess...
<discocaml> <Et7f3 (@me on reply)> @scoobybejesus You can do something like that: https://github.com/ocaml/opam-repository/blob/c0e9300f14d3570da85aad7e6e0ae47484a597a9/packages/sodium/sodium.0.5.0/opam#L12 so one line for os = "freebsd" and one for != and don't forget to add also in depext. (See other conf-file I'm pretty sure it contains a exemple with freebsd alternative name)
<discocaml> <Et7f3 (@me on reply)> Also for custom repository you can use `opam repository add` with the correct repo syntax
<scoobybejesus> thank you very much!!!
<discocaml> <Et7f3 (@me on reply)> I think the syntax of repo can be a github url or git clone url
<discocaml> <Et7f3 (@me on reply)> Good luck 🙂
nd__ has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
nd__ has quit [Ping timeout: 248 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
alexherbo2 has joined #ocaml
azimut_ has joined #ocaml
Tuplanolla has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
Serpent7776 has joined #ocaml
mro has joined #ocaml
olle has joined #ocaml
anpad has quit [Read error: Connection reset by peer]
nd__ has joined #ocaml
anpad has joined #ocaml
nd__ has quit [Ping timeout: 264 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 252 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 268 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 248 seconds]
mro has quit [Remote host closed the connection]
spip has joined #ocaml
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 252 seconds]
uics has joined #ocaml
azimut_ has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
Haudegen has joined #ocaml
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 252 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 248 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 252 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 252 seconds]
nd__ has joined #ocaml
Anarchos has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
Anarchos has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
<Anarchos> is there a haskell compiler written in ocaml ? I wonder if i could bootstrap ghc with it.
uics has quit [Remote host closed the connection]
Anarchos has quit [Ping timeout: 260 seconds]
fds has joined #ocaml
mro has joined #ocaml
xd1le has joined #ocaml
xd1le has quit [Quit: xd1le]
gwizon has quit [Remote host closed the connection]
<discocaml> <froyo> don't think there's anything that's capable of bootstrapping ghc
<discocaml> <froyo> there were attempts with hugs, no?
<discocaml> <froyo> (failed attempts)
count3rmeasure has joined #ocaml
mro has quit [Remote host closed the connection]
Anarchos has joined #ocaml
mro has joined #ocaml
gnyeki has quit [Quit: leaving]
mro has quit [Remote host closed the connection]
tizoc has quit [Quit: Coyote finally caught me]
azimut has quit [Ping timeout: 255 seconds]
azimut has joined #ocaml
uics has joined #ocaml
tizoc has joined #ocaml
mro has joined #ocaml
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #ocaml
jao has joined #ocaml
keyboard has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
uics has quit [Remote host closed the connection]
uics has joined #ocaml
Stumpfenstiel has joined #ocaml
keyboard has quit [Quit: keyboard]
keyboard has joined #ocaml
mro has quit [Quit: Leaving...]
count3rmeasure has quit [Ping timeout: 260 seconds]
Stumpfenstiel has quit [Ping timeout: 252 seconds]
Stumpfenstiel has joined #ocaml
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Stumpfenstiel has quit [Ping timeout: 252 seconds]
Stumpfenstiel has joined #ocaml
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
uics has quit [Remote host closed the connection]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 252 seconds]
salkin has quit [Quit: salkin]
azimut_ has joined #ocaml
azimut has quit [Remote host closed the connection]
count3rmeasure has joined #ocaml
<discocaml> <Aeldrion> Hello, relative newbie here. Tried to set up OCaml for Visual Studio Code today; trying to run a file prompts me to use a debugger extension, the only one that seems not to be deprecated is earlybird which I have installed, and now I'm getting an "Unsupported file format" error when attempting to run .ml files. What is that I could be doing wrong?
<discocaml> <NULL> Don't run a file through VSCode, it is not supported in this way
<discocaml> <NULL> You either run selection using Maj+Enter, or you just run it manually through the command line
<discocaml> <Aeldrion> Oh, that does work, thank you
count3rmeasure has quit [Read error: Connection reset by peer]
jlrnick has joined #ocaml
waleee has joined #ocaml
bgs has quit [Remote host closed the connection]
uics has joined #ocaml
mro has joined #ocaml
azimut_ has quit [Quit: ZNC - https://znc.in]
azimut has joined #ocaml
count3rmeasure has joined #ocaml
keyboard has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
jlrnick has quit [Ping timeout: 246 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 248 seconds]
chrisz has quit [Ping timeout: 252 seconds]
chrisz has joined #ocaml
olle has quit [Ping timeout: 246 seconds]
mro has quit [Quit: Leaving...]
CalimeroTeknik has quit [Read error: Connection reset by peer]
midgard has quit [Ping timeout: 265 seconds]
ctk has joined #ocaml
midgard has joined #ocaml
keyboard has quit [Quit: keyboard]
ctk is now known as CalimeroTeknik
Anarchos has quit [Ping timeout: 255 seconds]
count3rmeasure has quit [Quit: Leaving]
Stumpfenstiel has quit [Ping timeout: 252 seconds]