adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
sh0t has quit [Remote host closed the connection]
isd has quit [Ping timeout: 250 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
douglascorrea has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
agarwal1975 has joined #ocaml
freusque has quit [Quit: WeeChat 1.4]
Orion3k has quit [Ping timeout: 260 seconds]
Orion3k has joined #ocaml
malc_ has joined #ocaml
veggie_ has quit [Quit: WeeChat 1.5]
y3mato has joined #ocaml
zv has joined #ocaml
Orion3k has quit [Ping timeout: 260 seconds]
mfp has quit [Ping timeout: 260 seconds]
axiles has quit [Read error: Connection reset by peer]
Orion3k has joined #ocaml
wu_ng has joined #ocaml
axiles has joined #ocaml
mrf3000 has quit [Remote host closed the connection]
mrf3000 has joined #ocaml
mrf3000 has quit [Ping timeout: 250 seconds]
y3mato has quit [Remote host closed the connection]
y3mato has joined #ocaml
y3mato has quit [Ping timeout: 256 seconds]
malc_ has quit [Ping timeout: 246 seconds]
TarVanimelde has quit [Quit: TarVanimelde]
douglascorrea has quit [Remote host closed the connection]
TarVanimelde has joined #ocaml
TarVanimelde has quit [Quit: Leaving]
noddy2OOO has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 244 seconds]
govg has joined #ocaml
malc_ has joined #ocaml
tmtwd has joined #ocaml
djin has joined #ocaml
y3mato has joined #ocaml
y3mato has quit [Ping timeout: 246 seconds]
djin has left #ocaml [#ocaml]
MercurialAlchemi has joined #ocaml
tmtwd has quit [Ping timeout: 248 seconds]
djin has joined #ocaml
douglascorrea has joined #ocaml
douglascorrea has quit [Ping timeout: 256 seconds]
nomicflux has quit [Quit: nomicflux]
TarVanimelde has joined #ocaml
TarVanimelde has quit [Client Quit]
TarVanimelde has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 260 seconds]
AlexDenisov has joined #ocaml
y3mato has joined #ocaml
y3mato has quit [Ping timeout: 250 seconds]
okuu has quit [Quit: Unyu~? Reboot.]
copy` has quit [Quit: Connection closed for inactivity]
okuu has joined #ocaml
jao has quit [Ping timeout: 252 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MercurialAlchemi has joined #ocaml
troydm has quit [Ping timeout: 250 seconds]
TarVanimelde has quit [Quit: TarVanimelde]
TarVanimelde has joined #ocaml
TarVanimelde has quit [Remote host closed the connection]
troydm has joined #ocaml
TarVanimelde has joined #ocaml
andyc1 has joined #ocaml
rossberg has quit [Ping timeout: 246 seconds]
douglascorrea has joined #ocaml
douglascorrea has quit [Ping timeout: 265 seconds]
alfredo has joined #ocaml
vishesh has quit [Quit: WeeChat 1.4]
alfredo has quit [Client Quit]
alfredo has joined #ocaml
rossberg has joined #ocaml
jnavila has joined #ocaml
y3mato has joined #ocaml
y3mato has quit [Ping timeout: 250 seconds]
Simn has joined #ocaml
malina has joined #ocaml
zpe has joined #ocaml
AltGr has joined #ocaml
freusque has joined #ocaml
larhat has joined #ocaml
ocaml669 has joined #ocaml
<apache2> hm
<apache2> I need to use mmap with some ctypes stuff
<apache2> what is the best way to do that?
<companion_cube> I think bigarray would work? but I'm not sure how it works on the ctypes side
<companion_cube> (I mean you can use mmap from Bigarray itself)
<apache2> I need to map two ranges, run a c function on them, and convert the first range into an ocaml string type (playing with some crypto)
<apache2> and I want to not have the keys and plaintext in the ocaml heap
AlexDenisov has joined #ocaml
<apache2> maybe I should just do all this in c and return the value
<apache2> ctypes seems like a huge pain
<companion_cube> look at what nocrypto does, maybe?
<companion_cube> it's based on cstruct (i.e. roughly bigarray) and does the crypto functions part
y3mato has joined #ocaml
malc_ has quit [Ping timeout: 252 seconds]
y3mato has quit [Ping timeout: 244 seconds]
freusque has quit [Ping timeout: 260 seconds]
malina has quit [Ping timeout: 265 seconds]
gahbu_ has joined #ocaml
ontologiae has joined #ocaml
dhil has joined #ocaml
freusque has joined #ocaml
douglascorrea has joined #ocaml
gahbu_ has quit [Ping timeout: 256 seconds]
douglascorrea has quit [Ping timeout: 244 seconds]
pierpa has joined #ocaml
mfp has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
malc_ has joined #ocaml
malina has joined #ocaml
TarVanimelde has joined #ocaml
jwatzman|work has joined #ocaml
Onemorenickname has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wu_ng has quit [Ping timeout: 250 seconds]
govg has quit [Ping timeout: 245 seconds]
djin has quit [Quit: Leaving.]
sz0 has joined #ocaml
AlexDenisov has joined #ocaml
infinity0 has joined #ocaml
<Onemorenickname> Hi people
<Onemorenickname> I'm trying udp in ocaml
<Onemorenickname> Everything works locally, but when I'm trying to sendto a remote node, I get a EINVAL error
_andre has joined #ocaml
<Onemorenickname> (the strace is https://ghostbin.com/paste/cnpw9 , the code is https://ghostbin.com/paste/6g3xx )
mpenet has joined #ocaml
zpe has quit [Remote host closed the connection]
<Onemorenickname> https://ghostbin.com/paste/nu2dz is a more readable version of the code
zpe has joined #ocaml
<companion_cube> seems like you bind on localhost but send to another machine?
<companion_cube> (I'm really no expert, sorry :s)
<Onemorenickname> companion_cube, this is indeed what i do (i'm no expert too)
zpe has quit [Ping timeout: 250 seconds]
<companion_cube> I think you should bind on 0.0.0.0 or something if you want to receive from another machine
<Onemorenickname> yep, if i do so, i will only receive on local network
<Onemorenickname> i'll try ANY_ADDRESS
<Onemorenickname> (this is not my code actually)
<Onemorenickname> it now works
<Onemorenickname> thanks :)
zpe has joined #ocaml
<jstolarek> I have an OCaml project that I have to build with the following incantationL
<jstolarek> POSTGRESQL_LIBDIR=`ocamlfind query postgresql` make
<jstolarek> how do I do that in opam?
<jstolarek> I tried creating a command in the build section like this:
<jstolarek> [ "POSTGRESQL_LIBDIR=`ocamlfind query postgresql` make" ]
<jstolarek> alas, this does not work
y3mato has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
<companion_cube> Onemorenickname: oh good! :)
y3mato has quit [Ping timeout: 240 seconds]
freehck has quit [Ping timeout: 250 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ewanas has joined #ocaml
ewanas has quit [Client Quit]
orbifx-m has joined #ocaml
noddy2OOO has joined #ocaml
groovy2shoes has quit [Remote host closed the connection]
douglascorrea has joined #ocaml
douglascorrea has quit [Remote host closed the connection]
malina has quit [Remote host closed the connection]
kakadu has joined #ocaml
ewanas has joined #ocaml
<jstolarek> I have an opam file in a pinned local repository and it seems that opam does not automatically install dependencies for my package
<jstolarek> any suggestions what mught be going on?
douglascorrea has joined #ocaml
<kakadu> opam update packagename
ewanas has quit [Quit: No Ping reply in 180 seconds.]
<jstolarek> kakadu: nope. "already up-to-date"
<jstolarek> interestingly, depopts seem to work fine
<jstolarek> ie. if I install all the dependencies manually and install my package, then installing any of optional dependencies triggers a rebuild
<kakadu> You can try opam show packagename --where and check that opam uses the same `opam` file that you have in mind
<jstolarek> kakadu: it doesn't
<jstolarek> that's interesting
<kakadu> IT's weird
<jstolarek> no
<jstolarek> there is something that is even more weird
<jstolarek> it basically uses some cached version of my opam file
<jstolarek> and that cached version is identical to the one in my source directory
<jstolarek> except that the whole "depends" section is gone O_O
<jstolarek> all changes that I made moments ago were picked up
<kakadu> maybe you have a bug in depends sections and opam cut it out as unparsable
<jstolarek> perhaps
<kakadu> can you run opam lint on your opam file?
<lpaste> jstolarek pasted “No title” at http://lpaste.net/345044
ewanas has joined #ocaml
<jstolarek> hm
<jstolarek> Invalid package name deriving.syntax
<kakadu> you should put opampackages there
<kakadu> not ocamlfind ones
ocaml669 has quit [Ping timeout: 260 seconds]
<kakadu> you can try to remove everything with dots
<jstolarek> ok, let me play with that
freusque has quit [Ping timeout: 240 seconds]
dmi3y has joined #ocaml
ewanas has quit [Client Quit]
shinnya has joined #ocaml
freusque has joined #ocaml
ewanas has joined #ocaml
<jstolarek> kakadu: yup, that worked. Thanks
<jstolarek> somehow I expected that errors in opam file will be reported, not ignored silently
ewanas has quit [Client Quit]
dmi3y has quit [Quit: dmi3y]
dmi3y has joined #ocaml
AlexDenisov has joined #ocaml
al-damiri has joined #ocaml
ewanas has joined #ocaml
AlexDenisov has quit [Client Quit]
ewanas has quit [Client Quit]
douglasc_ has joined #ocaml
AlexDenisov has joined #ocaml
freehck has joined #ocaml
douglascorrea has quit [Ping timeout: 256 seconds]
ski has quit [Ping timeout: 260 seconds]
y3mato has joined #ocaml
ontologiae has quit [Ping timeout: 260 seconds]
y3mato has quit [Ping timeout: 244 seconds]
ewanas has joined #ocaml
<adrien> offtopic, I'm trying to find comments on yarn vs. npm; I'm asking here because I know people have proper standards on package management
Onemorenickname has quit [Read error: Connection reset by peer]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
dhil has quit [Ping timeout: 260 seconds]
ewanas has joined #ocaml
y3mato has joined #ocaml
dmi3y has quit [Quit: dmi3y]
TarVanim_ has joined #ocaml
cyraxjoe has joined #ocaml
TarVanimelde has quit [Ping timeout: 265 seconds]
MightyJoe has quit [Ping timeout: 258 seconds]
agarwal1975 has quit [Quit: agarwal1975]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
dmi3y has joined #ocaml
ewanas has joined #ocaml
zirman has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
AlexDenisov has joined #ocaml
noddy2OOO has quit [Ping timeout: 250 seconds]
ewanas has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
TarVanim_ has quit [Quit: TarVanim_]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
silver has joined #ocaml
zirmann has joined #ocaml
ontologiae has joined #ocaml
zirman has quit [Ping timeout: 250 seconds]
ontologiae has quit [Client Quit]
dhil has joined #ocaml
agarwal1975 has joined #ocaml
ewanas has joined #ocaml
TarVanimelde has joined #ocaml
zpe has quit [Remote host closed the connection]
zirmann has quit [Remote host closed the connection]
govg has joined #ocaml
rand__ has joined #ocaml
zirman has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
dhil has quit [Ping timeout: 268 seconds]
hellofunk has joined #ocaml
jao has joined #ocaml
FreeBirdLjj has joined #ocaml
zirman has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
ewanas has quit [Read error: Network is unreachable]
ewanas has joined #ocaml
noddy has joined #ocaml
zirman has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
zirman has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
shinnya has quit [Ping timeout: 250 seconds]
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
dmi3y has quit [Quit: dmi3y]
MercurialAlchemi has quit [Ping timeout: 246 seconds]
dmi3y has joined #ocaml
d0nn1e has quit [Ping timeout: 258 seconds]
copy` has joined #ocaml
d0nn1e has joined #ocaml
AlexDenisov has joined #ocaml
nomicflux has joined #ocaml
hellofunk has quit [Ping timeout: 245 seconds]
hellofunk has joined #ocaml
sepp2k has joined #ocaml
yomimono has joined #ocaml
kakadu has quit [Remote host closed the connection]
fredcy has joined #ocaml
dhil has joined #ocaml
ewanas has joined #ocaml
<fredcy> I want to install Ocaml 4.03.0 on an Ubuntu 14.04 system. The directions for Ubuntu at https://opam.ocaml.org/doc/Install.html result in 4.02.3. How can I get the newer version of Ocaml?
ewanas has quit [Read error: Network is unreachable]
<johnelse> fredcy: opam switch 4.03.0
<fredcy> As root?
<johnelse> opam will use the default ocaml that was installed on your system, until you tell it otherwise
ewanas has joined #ocaml
<aantron> fredcy: no need to be rot
<johnelse> nope, doesn't need to be root (unless you ran opam init as root)
<aantron> root*
* fredcy giving this a try...
<johnelse> make sure you run "eval `opam config env`" once the switch is done
<johnelse> that'll fix your path to point at the new ocaml
<fredcy> That seems to have worked well. Thanks.
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
<johnelse> great :)
douglasc_ has quit [Remote host closed the connection]
Muzer has quit [Read error: Connection reset by peer]
douglascorrea has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
nomicflux has quit [Quit: nomicflux]
TarVanimelde has quit [Ping timeout: 250 seconds]
TarVanimelde has joined #ocaml
douglascorrea has quit [Ping timeout: 265 seconds]
sh0t has joined #ocaml
Muzer has joined #ocaml
ewanas has joined #ocaml
alfredo has quit [Quit: Textual IRC Client: www.textualapp.com]
nomicflux has joined #ocaml
fre has joined #ocaml
nomicflux has quit [Read error: Connection reset by peer]
nomicflux has joined #ocaml
<fredcy> I appeared to switch to 4.03.0 OK. I tried building an application with that (https://github.com/tezos/tezos) and ran into severar errors. So to “do over” I removed all of ~/.opam. But now the “opam switch 4.03.0” step fails.
<fredcy> What’s the right way to rebuild the opam/ocaml env from scratch?
ygrek has joined #ocaml
ewanas has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
ewanas has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
<johnelse> fredcy: try "opam init" first
mpenet has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
larhat has quit [Quit: Leaving.]
<fredcy> I did. The “opam switch” command runs for 4 minutes and then quits with “[ERROR] Compiler build failed at "make install””.
mrf3000 has joined #ocaml
<fredcy> The stderr log is empty for that. No error that I can see in the stdout log.
fre has quit [Ping timeout: 260 seconds]
malc_ has quit [Quit: ERC (IRC client for Emacs 25.0.50.2)]
<fredcy> D’oh — I’m out of disk space. Nevermind.
jwatzman|work has quit [Quit: jwatzman|work]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
dmi3y has quit [Quit: dmi3y]
jnavila has quit [Quit: It was time]
veggie_ has joined #ocaml
veggie_ has left #ocaml [#ocaml]
ewanas has joined #ocaml
slash^ has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ewanas has quit [Ping timeout: 250 seconds]
ewanas has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
dhil has quit [Ping timeout: 265 seconds]
ewanas has quit [Ping timeout: 250 seconds]
ewanas has joined #ocaml
gahbu_ has joined #ocaml
averell has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
rgrinberg has joined #ocaml
noddy has quit [Ping timeout: 260 seconds]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
gahbu_ has quit [Ping timeout: 244 seconds]
mrf3000 has quit []
jnavila has joined #ocaml
ryanartecona has joined #ocaml
ewanas has quit [Read error: Connection reset by peer]
ewanas has joined #ocaml
orbifx-m2 has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
hellofunk has quit [Ping timeout: 252 seconds]
orbifx-m has quit [Ping timeout: 256 seconds]
jnavila has quit [Ping timeout: 252 seconds]
orbifx-m2 has quit [Ping timeout: 256 seconds]
orbifx-m has joined #ocaml
AlexDenisov has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
rgrinberg has quit [Ping timeout: 258 seconds]
rgrinberg has joined #ocaml
pitastrudl has quit [Remote host closed the connection]
jnavila has joined #ocaml
pitastrudl has joined #ocaml
ewanas has joined #ocaml
pitastrudl has quit [Remote host closed the connection]
ygrek has joined #ocaml
noddy has joined #ocaml
pitastrudl has joined #ocaml
ewanas has quit [Client Quit]
orbifx-m has quit [Ping timeout: 258 seconds]
averell has joined #ocaml
orbifx-m has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
nomicflux has quit [Quit: nomicflux]
<tizoc> I upgraded omake to 0.10.1 and now opium doesn't build, has anyone else had issues after upgrading omake?
pitastrudl has quit [Remote host closed the connection]
pitastrudl has joined #ocaml
ewanas has joined #ocaml
ewanas has quit [Client Quit]
orbifx-m has quit [Ping timeout: 250 seconds]
ewanas has joined #ocaml
fre has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
ewanas has quit [Client Quit]
jnavila has joined #ocaml
orbifx-m has joined #ocaml
ewanas has joined #ocaml
_andre has quit [Quit: leaving]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
<copy`> Yes, there were some problems with the latest omake
nomicflux has joined #ocaml
<tizoc> yes, I just saw an issue here related to it https://github.com/ocaml/opam-repository/issues/7888
tane has joined #ocaml
kakadu has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
pierpa has quit [Remote host closed the connection]
ewanas has joined #ocaml
<andyc1> does anyone know of any open source examples of pretty printers in OCaml? preferably with line wrapping, which I think is a nontrivial algorithm
<andyc1> i have a clean AST for shell scripts, but the example could be for any language
<andyc1> I've looked at https://github.com/facebook/pfff but I'm not sure if it does this, or it's more general than I would like
<y3mato> Heyo, can anyone tell me why this hindley milner implementation represents a let node as such: https://github.com/rob-smallshire/hindley-milner-python/blob/master/inference.py#L51
ewanas has quit [Quit: No Ping reply in 180 seconds.]
<y3mato> As in, what does defn mean? I figured v is the name, and body is the body, e.g. let x = true; so x : bool
ewanas has joined #ocaml
zirmann has joined #ocaml
orbifx-m has quit [Ping timeout: 252 seconds]
zirmann has quit [Read error: Connection reset by peer]
zirman_ has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
<y3mato> e.g. let g = fn f => 5 in g g
jnavila has joined #ocaml
<flux> defn is just some expression defining the value of v in the body
<flux> let v = 42 in v
zirman has quit [Ping timeout: 256 seconds]
y3mato has quit [Remote host closed the connection]
y3mato has joined #ocaml
y3mato has quit [Ping timeout: 245 seconds]
larhat has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ryanartecona has quit [Quit: ryanartecona]
ewanas has joined #ocaml
zpe has joined #ocaml
zirman_ has quit [Remote host closed the connection]
stux|RC-only has quit [Ping timeout: 268 seconds]
stux|RC-only has joined #ocaml
ewanas has quit [Ping timeout: 250 seconds]
slash^ has quit [Read error: Connection reset by peer]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
zirman has quit [Remote host closed the connection]
zirmann has joined #ocaml
zirmann has quit [Remote host closed the connection]
zirman has joined #ocaml
zirman has joined #ocaml
zirman has quit [Changing host]
ewanas has joined #ocaml
ewanas has quit [Client Quit]
noddy has quit [Ping timeout: 245 seconds]
michbad has joined #ocaml
ewanas has joined #ocaml
FreeBirdLjj has joined #ocaml
ewanas has quit [Client Quit]
FreeBirdLjj has quit [Ping timeout: 258 seconds]
ewanas has joined #ocaml
zirmann has joined #ocaml
noddy has joined #ocaml
zirman has quit [Ping timeout: 258 seconds]
zirmann has quit [Ping timeout: 260 seconds]
rand__ has quit [Quit: leaving]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
ewanas has joined #ocaml
fre has quit [Ping timeout: 250 seconds]
zpe has quit [Ping timeout: 250 seconds]
Onemorenickname has joined #ocaml
<Onemorenickname> Hi people
<Onemorenickname> I'm trying to convert an inet_addr to an "Ipv4 of Int32 | Ipv6 of Int64*Int64"
<Onemorenickname> The only function I found in Unix module to convert an inet_addr was to string.
<Onemorenickname> Is there a module that already do what I am trying to achieve or something close ?
ewanas has quit [Read error: Connection reset by peer]
jimt has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
ewanas has joined #ocaml
jimt has joined #ocaml
<lyxia> it seems you can only convert to and from string
ryanartecona has joined #ocaml
<lyxia> domain_of_sockaddr would tell you whether it's IPv4 or 6
cheater has joined #ocaml
<cheater> hi
<tane> while type safe abstractions are nice, the Unix module is a good example why it sometimes sucks
<cheater> i have two projects that use the same version of ocaml and they both use the same package but pinned at different versions. how do i manage that?
orbifx-m has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
<aantron> cheater: typically different switches. unless you need to use these projects together
<cheater> i don't. how do i make different switches?
<aantron> opam switch my-new-switch --alias-of 4.04.0
stux|RC-only has quit [Ping timeout: 260 seconds]
<aantron> this will give you a new 4.04.0 switch with the name my-new-switch
<aantron> there was some kind of work on sandboxing so you can have a local switch per-project, i think opam 2.0 has some support for that
stux|RC-only has joined #ocaml
y3mato has joined #ocaml
<cheater> ahh ok thanks
y3mato has quit [Ping timeout: 265 seconds]
Simn has quit [Read error: Connection reset by peer]
<Onemorenickname> tane : i see
<tane> Onemorenickname, last time I wanted to use a packet socket I already thought about the problem
<tane> proper linux socket support should be outsourced to some opam package, makes it easier to keep it up to date
nomicflux has quit [Quit: nomicflux]
<Onemorenickname> tane : there is no standard for a unix/network opam package ?
<tane> haven't found one from the descriptions so far
ewanas has joined #ocaml
<Onemorenickname> i see
<Onemorenickname> thank you still
ewanas has quit [Client Quit]
jnavila has quit [Ping timeout: 260 seconds]
ewanas has joined #ocaml
<tane> maybe you can use that
<tane> yep, seems usable from the signatures
zirman has joined #ocaml
Armael has quit [Ping timeout: 248 seconds]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
Armael has joined #ocaml
cheater has quit [Ping timeout: 265 seconds]
AltGr has left #ocaml [#ocaml]
agarwal1975 has quit [Quit: agarwal1975]
<aantron> tane: well, there's lwt for I/O :) it largely replaces modules like Unix. as for whether the API is proper, that is another matter, but it can be addressed much faster than in stdlib
jmasseo has quit [Ping timeout: 244 seconds]
<tane> well, it just wraps the calls of the unix module, which could be replaced, sure, but I guess it's better to keep these compatible
<tane> and have a smaller external overlay for those who require raw access
mloy has joined #ocaml
jmasseo has joined #ocaml
nomicflux has joined #ocaml
<aantron> actually, even though the docs of many lwt calls say that they wrap the Unix module, almost all have independent implementations. except on windows (for the time being)
rgrinberg has quit [Remote host closed the connection]
<aantron> some of the types are compatible because it is convenient somehow. but i'd rather evolve towards a more useful API than preserve compatibility with a restrictive or wrong API in Unix, when that is the case
<tane> well, that would be ok as well
<tane> given there was some smaller library that wrapped the common calls via ctypes or similar
<tane> it would be rather easy to change the calls in lwt for those in that library
<aantron> perhaps. for many of the calls, i think that would have to wait until multicore, though
kakadu has quit []
ewanas has joined #ocaml
<tane> why?
<aantron> because when lwt can't do non-blocking or polling I/O for a system call, it runs that in a system worker thread
<aantron> actually i guess some of this can be done in ocaml even now
<tane> there would be no difference regarding these behaviours to the current state, I guess
stux|RC-only has quit [Ping timeout: 268 seconds]
<tane> my main concern is giving the raw API to those who need it, and provide up to date abstractions to those who don't
<aantron> makes sense
stux|RC-only has joined #ocaml
Onemorenickname has quit [Read error: Connection reset by peer]
ewanas has quit [Client Quit]
orbifx-m2 has joined #ocaml
orbifx-m has quit [Read error: Connection reset by peer]
orbifx-m has joined #ocaml
nomicflux has quit [Quit: nomicflux]
orbifx-m2 has quit [Ping timeout: 258 seconds]
ewanas has joined #ocaml
ewanas has quit [Client Quit]
orbifx-m2 has joined #ocaml
ewanas has joined #ocaml
orbifx-m has quit [Read error: Connection reset by peer]
orbifx-m3 has joined #ocaml
orbifx-m2 has quit [Ping timeout: 260 seconds]
jao has joined #ocaml
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ewanas has joined #ocaml
yomimono has quit [Ping timeout: 250 seconds]
michbad has quit [Remote host closed the connection]
orbifx-m has joined #ocaml
orbifx-m3 has quit [Ping timeout: 250 seconds]
tane has quit [Quit: Leaving]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
ryanartecona has quit [Quit: ryanartecona]
ryanartecona has joined #ocaml
ryanartecona has quit [Client Quit]
sh0t has quit [Remote host closed the connection]
cheater has joined #ocaml
y3mato has joined #ocaml
ewanas has joined #ocaml
y3mato has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
ewanas has quit [Quit: No Ping reply in 180 seconds.]
zirman has quit [Remote host closed the connection]