Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
alexherbo2 has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 264 seconds]
emilknievel has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
emilknievel has quit [Ping timeout: 245 seconds]
emilknievel has joined #ocaml
jabuxas has quit [Quit: oops :p]
mima has quit [Ping timeout: 240 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
mbuf has joined #ocaml
leon_on9527 has quit [Read error: Connection reset by peer]
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
nasmevka has joined #ocaml
bartholin has quit [Quit: Leaving]
mima has joined #ocaml
olle has joined #ocaml
Anarchos has joined #ocaml
nasmevka has quit [Quit: Leaving]
<Anarchos> According to https://pubs.opengroup.org/onlinepubs/9699919799/, sendto should fail with ENOENT if pathname is "". This is precisely the case in the recvfrom_unix unit test. So i think the 'OK' reference is incorrect.
<Anarchos> Should i open an issue on github.com/ocaml ?
<octachron> There is no "" pathname in sight in this test? `sendto` is called on an anonymous socket.
<octachron> (the testsuite is run on linux, freeBSDs, openBSDS, macos and omniOS, it is unlikely to contain linuxism)
<Anarchos> the socket is created on ""
<Anarchos> octachron by anonymous socket you mean the socket is not bind to an address.
<Anarchos> octachron but i understand this line is still using an empty pathname :
<Anarchos> test_sender ~client_socket ~server_socket ~server_addr ~client_addr:(ADDR_UNIX "")
<octachron> The socker is created with "Unix.socket PF_UNIX SOCK_DGRAM 0" and is not bound to any address.
<octachron> The client address is only used for comparing it to the path returned by recvfrom
<Anarchos> octachron ok i will look into my netswork stack
bibi__ has joined #ocaml
bibi_ has quit [Ping timeout: 255 seconds]
Anarchos has quit [Ping timeout: 264 seconds]
<jiquiame> Hey, I'm having trouble setting up dependancies for a project using js_of_ocaml. Basically, opam on windows has only access to 4.0.0, which is incompatible with --disable option, which I need to provide in linux/osx platforms with newer versions of the package. Using dune variables, I'm able to specify the jsoo compilation flags according to os_type, however, that does not make sense with the
<jiquiame> dependancy constraints I set in the dune-project. I would rather send flags according to the jsoo version, but even if dune provides %{version:js_of_ocaml}, I would then need to list each version of jsoo to specify the flags as I couldn't find a way to make a comparison based on this information. I would gladly take tips on that
<jiquiame> I also have trouble finding out how to specify specific versions of libraries in executables packaged with opam, especially that I'd also need to do it with allowing 4.0.0. Maybe that would be different opam packages, defined differently in dune?
Anarchos has joined #ocaml
nasmevka has joined #ocaml
nasmevka has quit [Client Quit]
a51 has quit [Quit: WeeChat 4.2.1]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
jabuxas has joined #ocaml
dnh has joined #ocaml
jabuxas has quit [Ping timeout: 255 seconds]
alexherbo2 has joined #ocaml
tremon has joined #ocaml
a51 has joined #ocaml
waleee has joined #ocaml
jabuxas has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick__ has joined #ocaml
henrytill_ has joined #ocaml
ursa-major_ has joined #ocaml
brettgilio_ has joined #ocaml
richardhuxton_ has joined #ocaml
dnh has joined #ocaml
mbuf has quit [Quit: Leaving]
sleepydog_ has joined #ocaml
kuruczgy_ has joined #ocaml
pluviaq_ has joined #ocaml
jmcantrell_ has joined #ocaml
lane_ has joined #ocaml
chrisz_ has joined #ocaml
dnh has quit [Ping timeout: 256 seconds]
motherfsck has quit [*.net *.split]
chrisz has quit [*.net *.split]
henrytill has quit [*.net *.split]
ursa-major has quit [*.net *.split]
kuruczgy has quit [*.net *.split]
jmcantrell has quit [*.net *.split]
richardhuxton has quit [*.net *.split]
patrick_ has quit [*.net *.split]
pluviaq has quit [*.net *.split]
sleepydog has quit [*.net *.split]
brettgilio has quit [*.net *.split]
lane has quit [*.net *.split]
kuruczgy_ is now known as kuruczgy
sleepydog_ is now known as sleepydog
pluviaq_ is now known as pluviaq
jmcantrell_ is now known as jmcantrell
henrytill_ is now known as henrytill
richardhuxton_ is now known as richardhuxton
brettgilio_ is now known as brettgilio
ursa-major_ is now known as ursa-major
jabuxas has quit [Ping timeout: 255 seconds]
motherfsck has joined #ocaml
gwizon has joined #ocaml
average has joined #ocaml
xgqt has quit [Quit: WeeChat 4.1.2]
xgqt has joined #ocaml
waleee has joined #ocaml
pi3ce has quit [Quit: No Ping reply in 180 seconds.]
pi3ce has joined #ocaml
dnh has joined #ocaml
Tuplanolla has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
alexherbo2 has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
bartholin has quit [Quit: Leaving]
<discocaml> <functionalprogramming> is there a popularly-used "double-ended" list for OCaml?
<discocaml> <functionalprogramming> it seems i can use two lists, will try that
<discocaml> <Kali> as in, a doubly linked list?
<discocaml> <functionalprogramming> sure, i mean i guess my q is, is there a library for https://discuss.ocaml.org/t/how-to-represent-a-double-ended-linked-list/13354/2?u=mizlan
<discocaml> <functionalprogramming> i dont want to rewrite all the functions myself
<discocaml> <functionalprogramming> i suppose i can write them
<masterbuilder> @functionalprogramming what do you need it for? what API do you wish for etc.
<discocaml> <Kali> oh, not a doubly-linked list, an actual two-ended list
alexherbo2 has quit [Remote host closed the connection]
<discocaml> <functionalprogramming> i wish to use it for constant-time "rotating" one element to the end, as well as O(M)-time appending (to end) of a length-M list
<discocaml> <functionalprogramming> although i suppose my N/M is never very big, so I might just use one list and use @ [...]
average has quit [Quit: Connection closed for inactivity]
tremon has quit [Quit: getting boxed in]
Serpent7776 has quit [Ping timeout: 255 seconds]
<discocaml> <hockletock> `opam search deque` shows that fmlib has a deque implementation
<discocaml> <contextfreebeer> containers has `CCFQueue` too