average has quit [Quit: Connection closed for inactivity]
Haudegen has quit [Ping timeout: 264 seconds]
zebrag has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
xd1le has joined #ocaml
mbuf has joined #ocaml
thizanne has quit [*.net *.split]
micro_ has quit [*.net *.split]
terrorjack has quit [*.net *.split]
ralu has quit [*.net *.split]
Ekho has quit [*.net *.split]
SquidDev has quit [*.net *.split]
Chouhartem has quit [*.net *.split]
farn has quit [*.net *.split]
notnotdan has quit [*.net *.split]
engil1 has quit [*.net *.split]
micro has joined #ocaml
ralu has joined #ocaml
engil1 has joined #ocaml
SquidDev has joined #ocaml
thizanne has joined #ocaml
farn has joined #ocaml
notnotdan has joined #ocaml
Chouhartem has joined #ocaml
terrorjack has joined #ocaml
spip has quit [Ping timeout: 244 seconds]
spip has joined #ocaml
Ekho has joined #ocaml
mro has joined #ocaml
<d_bot>
<geoff> The Matrix client (in ocaml) I was working on last year has been collecting dust for some time. Was at the point of working on implementing encryption and deciding how I wanted to organize storage (for that and messages)
<d_bot>
<geoff> Learned a bunch while working on in, I even made bindings for olm (thanks @rgrinberg for the dune help while I was doing that), but man trying to cover the API was a major headache
<d_bot>
<geoff> documentation of the message types was not superb. I haven't looked at it for a long time, maybe it's better now that it was then.
<d_bot>
<geoff> I've been using a self hosted synapse instance for some time now fairly painlessly, but it's not federated at all so the stability I enjoy is a product of that 😅
mro has quit [Remote host closed the connection]
mro has joined #ocaml
jess has quit [Quit: Lost terminal]
jess has joined #ocaml
hendursaga has joined #ocaml
hendursa1 has quit [Ping timeout: 276 seconds]
cedric has joined #ocaml
mal`` has quit [Quit: Leaving]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has joined #ocaml
mal`` has joined #ocaml
olle has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
Guest31 has joined #ocaml
kakadu has joined #ocaml
wwilly has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
rond_ has joined #ocaml
mro has quit [Remote host closed the connection]
Guest31 has quit [Quit: Client closed]
mro has joined #ocaml
mbuf has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
zebrag has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has joined #ocaml
mro has joined #ocaml
xd1le has quit [Ping timeout: 244 seconds]
xd1le_ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
olle has quit [Ping timeout: 265 seconds]
bartholin has quit [Quit: Leaving]
rond_ has quit [Quit: Client closed]
xd1le_ has quit [Quit: xd1le_]
Haudegen has joined #ocaml
spip has quit [Ping timeout: 244 seconds]
bobo has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
waleee has quit [Ping timeout: 245 seconds]
waleee has joined #ocaml
bobo has quit [Quit: Konversation terminated!]
spip has joined #ocaml
rgrinberg has joined #ocaml
hendursaga has quit [Quit: hendursaga]
hendursaga has joined #ocaml
olle has joined #ocaml
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #ocaml
Tuplanolla has joined #ocaml
mro has quit [Remote host closed the connection]
average has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
motherfsck has quit [Ping timeout: 260 seconds]
salkin has quit [Quit: salkin]
vicfred has joined #ocaml
motherfsck has joined #ocaml
mro has joined #ocaml
olle has quit [Ping timeout: 244 seconds]
saltrocklamp[m] has quit [Changing host]
saltrocklamp[m] has joined #ocaml
mro has quit [Read error: Connection reset by peer]
mro has joined #ocaml
hyphen has quit [Ping timeout: 265 seconds]
hyphen has joined #ocaml
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #ocaml
mro has quit [Quit: Leaving...]
salkin has joined #ocaml
Guest93 has joined #ocaml
<Guest93>
Is there any way to print the name of a variable in ocaml?
<d_bot>
<NULL> Do you have an example of another language doing that, to get what you mean ?
<d_bot>
<NULL> Because I don't see any language where you could
<Guest93>
I can in common lisp as well as haskell
<Guest93>
one sec on the example
<d_bot>
<NULL> I don't know these languages well enough, but I think I could read Haskell easier. The thing is I don't see how this name isn't compiled away
<saltrocklamp[m]>
i assume haskell provides some runtime reflection ability
<Guest93>
Compile time reflection in ocaml would work just fine in my particular case
<Guest93>
I can't remember how I inspected symbol names in common lisp
<saltrocklamp[m]>
in lisp you can easily write a macro that accepts a symbol and prints the symbol name
<saltrocklamp[m]>
but i'm not sure that really counts
<Guest93>
that is true - but I also remember something like symbol->name... maybe this was a chicken scheme extension
<Guest93>
but anyways
<saltrocklamp[m]>
what would be the use case for such a thing
<d_bot>
<NULL> There's nothing like that in the Stdlib as far as I'm aware. You should look into `ppx`es for this I would say
Guest93 has quit [Quit: Client closed]
omni has quit [Read error: Connection reset by peer]
omni has joined #ocaml
vicfred has quit [Quit: Leaving]
salkin has quit [Quit: salkin]
shawnw has joined #ocaml
<d_bot>
<Jektrix> is that code online anywhere? a little bit curious
<ski>
saltrocklamp[m] : there's no run-time reflection of variable names, in any main Haskell implementation, afaik
<d_bot>
<geoff> https://github.com/geoffder/matrix-ocaml I haven't looked at it in a long time so I'm sure it looks dreadful even compared to my current output, here it is 😅
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<d_bot>
<geoff> The olm-ml for the olm bindings
<d_bot>
<geoff> Basically at the point of using top-level to send messages etc
hackinghorn has quit [Quit: Leaving]
jess has quit []
cedric has quit [Quit: Konversation terminated!]
zebrag has quit [Ping timeout: 245 seconds]
Tuplanolla has quit [Quit: Leaving.]
<d_bot>
<Jektrix> I'm not familiar with Olm
<d_bot>
<geoff> it's the the cryptographic library they use for encrypted rooms and DMs
average has quit [Quit: Connection closed for inactivity]
<d_bot>
<Jektrix> Ah I see. Yeah this looks cool I'll take a look later. Need to figure out ctypes