companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
torretto_ has quit [Remote host closed the connection]
torretto has joined #ocaml
waleee has joined #ocaml
f[x] has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
<twobitsprite> ada2k: I like that python supports "properties" which are functions that act like attributes for cases where you actually need to code for accessing data in an object. And for values that object users aren't supposed to mess with, just do _attr to indicate that it's supposed to be for internal use
<twobitsprite> can you have multiple (executable) stanzas in bin/dune? i.e., a "server" and "client" executable?
<twobitsprite> ok, I think I've figured out the multiple executables thing, but I'm getting this error... am I misunderstanding struct syntax? https://termbin.com/3icq
Guest11 has joined #ocaml
Guest11 is now known as lixing
<discocaml> <Kali> you need to declare the inner records before using them
<discocaml> <Kali> otherwise you could access a value belonging to an anonymous record type, which is not allowed
<discocaml> <Kali> so something like ```ocaml
<discocaml> <Kali> type pos = {x: int; y: int}
<discocaml> <Kali> type size = {w: int; h: int}
<discocaml> <Kali> type t = {grid: Grid.t; pos: pos; size: size}
<discocaml> <Kali> ```
<twobitsprite> ahh, ok, thanks
tomku has quit [Remote host closed the connection]
tomku has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
<twobitsprite> why is opam sooooo slloooowww?
twobitsprite has quit [Remote host closed the connection]
<discocaml> <Kali> source-based package manager
twobitsprite has joined #ocaml
<twobitsprite> opam just froze my linux VM again.....
<twobitsprite> maxed out all 4 cores...
bartholin has joined #ocaml
bartholin has quit [Ping timeout: 258 seconds]
bartholin has joined #ocaml
<twobitsprite> anyway, can someone help me with this error? https://termbin.com/c9r7
f[x] has quit [Remote host closed the connection]
olle has joined #ocaml
myrkraverk has quit [Quit: Leaving]
toastal has joined #ocaml
<discocaml> <dungmai0210> guys i am trying install opam but idk what happen. I gonna download it for lingshasr
olle has quit [Remote host closed the connection]
toastal has quit [Ping timeout: 255 seconds]
Serpent7776 has joined #ocaml
reynir has quit [Ping timeout: 245 seconds]
reynir has joined #ocaml
thizanne has quit [Quit: WeeChat 3.0]
<discocaml> <sim642> I may be wrong, but if I remember correctly, extensible variant constructors are given unique IDs internally using the same mechanism as object IDs. So I'd expect it to be a non-issue.
Serpent7776 has quit [Ping timeout: 252 seconds]
<discocaml> <deepspacejohn> Thanks, that’s good to know. I suspected something like that but I didn’t see anything that confirmed it
reynir has quit [Ping timeout: 258 seconds]
reynir has joined #ocaml
olle has joined #ocaml
gentauro has quit [Ping timeout: 248 seconds]
gentauro has joined #ocaml
TCZ has joined #ocaml
troydm has joined #ocaml
troydm has quit [Client Quit]
troydm has joined #ocaml
reynir has quit [Ping timeout: 265 seconds]
reynir has joined #ocaml
alexherbo2 has joined #ocaml
TCZ has quit []
Serpent7776 has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #ocaml
bhoot has joined #ocaml
bhoot has quit [Client Quit]
waleee has joined #ocaml
bhoot has joined #ocaml
bhoot has quit [Ping timeout: 248 seconds]
f[x] has joined #ocaml
waleee has quit [Ping timeout: 248 seconds]
lain` has joined #ocaml
lixing has quit [Quit: Client closed]
alexherbo2 has quit [Remote host closed the connection]
Jaydee has joined #ocaml
<Jaydee> Hello~ anyone willing to help me with some Eliom configuration ? I can't compile my project using this directive : module%shared M = Mariadb.Blocking
<Jaydee> I've added ocaml-mariadb in the libraries standza of the dune file, but it yield me this error : Error: Unbound module Mariadb. If I replaced shared with server, it works, but the main eliom file can't find "mydb.eliom" module :/
olle has quit [Ping timeout: 252 seconds]
bhoot has joined #ocaml
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dawids_ has joined #ocaml
dawids_ has quit [Remote host closed the connection]
bhoot has joined #ocaml
tomku has quit [Ping timeout: 258 seconds]
tomku has joined #ocaml
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhoot has joined #ocaml
Anarchos has joined #ocaml
Jaydee has quit [Quit: Client closed]
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhoot has joined #ocaml
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #ocaml
bhoot has joined #ocaml
bhoot has quit [Client Quit]
bhoot has joined #ocaml
Tuplanolla has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
bhoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bhoot has joined #ocaml
bhoot has quit [Quit: Textual IRC Client: www.textualapp.com]
alexherbo2 has joined #ocaml
bartholin has quit [Quit: Leaving]
alexherbo2 has quit [Remote host closed the connection]
waleee has joined #ocaml
tomku has quit [Ping timeout: 258 seconds]
tomku has joined #ocaml
YuGiOhJCJ has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
tomku has quit [Ping timeout: 252 seconds]
tomku has joined #ocaml
<discocaml> <otini_> @vincent_balat may be able to help
Serpent7776 has quit [Ping timeout: 252 seconds]
<discocaml> <otini_> ah, I see it’s been solved
<discocaml> <vincent_balat> I suppose you want to use Mariadb on the server only? In that case, you should use module%server otherwise the module will be included in both the server and client codes.
f[x] has quit [Remote host closed the connection]
<discocaml> <vincent_balat> What is the error message with %server? Did you try to add an explicit call to your Mydb module in your main file? (Like module%server Mydb = Mydb)
waleee has quit [Quit: WeeChat 4.1.2]
Tuplanolla has quit [Quit: Leaving.]
tomku has quit [Ping timeout: 272 seconds]