companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
shalokshalom has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
Tuplanolla has quit [Quit: Leaving.]
olle_ has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 252 seconds]
Haudegen has quit [Ping timeout: 260 seconds]
curtosis[away] has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
b20n has quit [Ping timeout: 250 seconds]
terabit has quit [Ping timeout: 248 seconds]
cemerick has quit [Ping timeout: 258 seconds]
SrPx has quit [Ping timeout: 250 seconds]
adrianbrink has quit [Ping timeout: 250 seconds]
adrianbrink has joined #ocaml
b20n has joined #ocaml
cemerick has joined #ocaml
SrPx has joined #ocaml
terabit has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
curtosis has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
curtosis has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
hex0punk has joined #ocaml
<hex0punk> exit
hex0punk has quit [Client Quit]
vicfred has quit [Quit: Leaving]
vicfred has joined #ocaml
infinit_0 has joined #ocaml
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
rak has quit [Ping timeout: 276 seconds]
TC01 has quit [Ping timeout: 252 seconds]
vodkaInf1rno has joined #ocaml
wagle has quit [Ping timeout: 245 seconds]
vodkaInferno has quit [Read error: Connection reset by peer]
dh` has quit [Ping timeout: 245 seconds]
TC01 has joined #ocaml
wagle has joined #ocaml
rak has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
infinit_0 has quit [Quit: Connection closed]
sz0 has joined #ocaml
cantstanya has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
cantstanya has joined #ocaml
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
shawnw has joined #ocaml
Loni81 has joined #ocaml
<Loni81> Hello, my name is Loni. I am from Cameroon. I am happy contributing to the OCaml website and looking forward to working with you all.
nirzu97 has joined #ocaml
nirzu97 has quit [Client Quit]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mro_name has joined #ocaml
nirzu97 has joined #ocaml
nirzu97 has quit [Client Quit]
Tuplanolla has joined #ocaml
shalokshalom has joined #ocaml
Loni81 has quit [Quit: Connection closed]
adrien_ is now known as adrien
sz0 has quit [Quit: Connection closed for inactivity]
osa1 has joined #ocaml
madroach has joined #ocaml
mro_name has quit [Remote host closed the connection]
ArthurStrong has joined #ocaml
mro_name has joined #ocaml
shalokshalom has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
shalokshalom has joined #ocaml
bartholin has joined #ocaml
zebrag has joined #ocaml
tane has joined #ocaml
Riddhima has joined #ocaml
mro_name has quit [Remote host closed the connection]
Riddhima has quit [Quit: Connection closed]
mfp has joined #ocaml
olle_ has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
Haudegen has joined #ocaml
vicfred has quit [Quit: Leaving]
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
ArthurStrong has quit [Ping timeout: 260 seconds]
bartholin has quit [Read error: Connection reset by peer]
bartholin has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
<olle_> what's the name of the compiler lib to ocaml
<olle_> m something
<olle_> mmmerlin?
<olle_> no
<olle_> not mantis
<olle_> menhir!
mro_name has joined #ocaml
shalokshalom has left #ocaml ["https://quassel-irc.org - Komfortabler Chat. Überall."]
mro_name has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
bartholin has quit [Ping timeout: 265 seconds]
bartholin has joined #ocaml
shawnw has quit [Ping timeout: 240 seconds]
neiluj has joined #ocaml
neiluj has quit [Changing host]
neiluj has joined #ocaml
ArthurStrong has joined #ocaml
myles_bilong has joined #ocaml
mro_name has joined #ocaml
myles_bilong has quit [Ping timeout: 240 seconds]
mro_name has quit [Remote host closed the connection]
yichiehc has joined #ocaml
mro_name has joined #ocaml
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
bartholin has quit [Ping timeout: 265 seconds]
bartholin has joined #ocaml
bjorkintosh has joined #ocaml
waleee-cl has joined #ocaml
dh` has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mro_name has quit [Remote host closed the connection]
<qwr> difficulty in F# to OCaml compilation might come from libraries
<qwr> as the only reason to even want such transpiler would be compiling existing F# code, which uses existing .NET libraries
<qwr> and if you're going through the trouble of modifing the code to use other libraries, then quite probably changing few syntactic differences is smaller part of the work
<qwr> and it might be possible to also implement C#-to-OCaml compiler and port for example Mono runtime to it, but i'm pretty sure, that it would be a major effort
ArthurStrong has quit [Ping timeout: 252 seconds]
mro_name has joined #ocaml
mro_name has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
bartholin has quit [Ping timeout: 240 seconds]
zebrag has joined #ocaml
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
bartholin has joined #ocaml
vicfred has joined #ocaml
mal`` has quit [Quit: Leaving]
mro_name has joined #ocaml
<d_bot> <Firgeis> I'd say it's way more difficult than that, F# has a whole range of syntax dealing with OO which does not exist in OCaml
mro_name has quit [Ping timeout: 240 seconds]
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
bartholin has quit [Ping timeout: 240 seconds]
mro_name has joined #ocaml
wilfredh has joined #ocaml
mbuf has quit [Quit: Leaving]
mal`` has joined #ocaml
<d_bot> <xvw> Ocaml has OOP interfaces.
<Drup> they are *really* not the same
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
<Drup> it's like saying racket is compatible in ocaml because both are functional. The only common point between the OOP aspects in ocaml and .Net is the fact there is "object" in the name
<d_bot> <EduardoRFS> Drup: not sure about `.Net` but Java OOP models nicely to OCaml OOP when doing FFI, almost 1 : 1. Even thought they're used in a different way.
ArthurStrong has joined #ocaml
<companion_cube> except for the utf16 strings, right? :p
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<d_bot> <EduardoRFS> well I just have a black box called `String.t`, but yeah to interact with Strings and long I need some helpers
<d_bot> <EduardoRFS> but like the core structure of a class an interface and etc ... actually works
<d_bot> <EduardoRFS> I have this generator, which does low level bindings, then I build high level bindings on top of it
<d_bot> <EduardoRFS>
<d_bot> <EduardoRFS> need to do a small rewrite of camljava
<d_bot> <EduardoRFS> zero docs and probably only works on my computer tho
<d_bot> <EduardoRFS> @octachron there is an issue about this? https://gist.github.com/EduardoRFS/de96838cefe9115d12ec740b78e8506b
<d_bot> <EduardoRFS>
<d_bot> <EduardoRFS> pattern matching on let fails, but match works
<d_bot> <EduardoRFS> also this is one of the changes I think Melange inherited from ReScript, all let are transformed into let + match, which concerns me, is this always a safe transformation?
<d_bot> <EduardoRFS> probably there is an issue on github that I cannot find
rosterok has joined #ocaml
<d_bot> <octachron> The fields of the module `X` are not in the scope in the second case.
<d_bot> <octachron> Whereas in the first case, the projection comes first, the fields are added to the environment, and when typechecking the pattern they are found "accidentally" and the typechecker just triggers a `name-out-of-scope` warning.
<d_bot> <octachron> Transforming `let` into `let` + `match` should be safe and entirely unnecessary?
<d_bot> <ec> Hm. Is there a way to ignore a missing module when invoking `ocamldoc`?
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
<d_bot> <EduardoRFS> it solves the problem, essentially the second case types into Melange
<d_bot> <EduardoRFS> which I would argue should be the behavior in OCaml
sanyud has joined #ocaml
shawnw has joined #ocaml
layet has joined #ocaml
<sanyud> Hi everyone , I'm Sanyu Daver and an  outreachy applicant and would like to contribute for the project "Add templating to the OCaml documentation generator"
curtosis[away] has joined #ocaml
sanyud has quit [Ping timeout: 240 seconds]
ArthurStrong has quit [Quit: leaving]
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
mro_name has quit [Ping timeout: 240 seconds]
<d_bot> <octachron> @EduardoRFS , most type system people would argue that it is the first behavior and its use of accidentally propagated information that is an issue.
<d_bot> <EduardoRFS> Why would it be? The information is available on the ident, seems expected that if X.value is typed and known, you can access it's records.
<d_bot> <octachron> No, you should be able to type the patterns and the expressions in any order and end up with the same result.
<d_bot> <octachron> The optimal behavior would be to integrate type-directed disambiguation in the notion of principality in a way that makes this kind of propagation principled.
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<d_bot> <EduardoRFS> Yeah but that's clearly not true, so my question is why do we run let from left to right instead of right to left?
<d_bot> <EduardoRFS> And even better, would changing it break any code?
<d_bot> <octachron> The order definitively matters for for GADTs.
<d_bot> <octachron> And yes, changing the order will breaks all that does not compiler with `-principal` + the related warnings as errors.
<d_bot> <EduardoRFS> Sad
<d_bot> <octachron> Note that there is some work towards making type-directed disambiguation more robust/principled. However, with the pandemy, I don't know how well it is going.
zebrag has quit [Read error: Connection reset by peer]
zebrag has joined #ocaml
wilfredh has quit [Quit: Connection closed for inactivity]
osa1 has quit [Ping timeout: 268 seconds]
osa1 has joined #ocaml
vicfred has quit [Quit: Leaving]
alexey has quit [Ping timeout: 248 seconds]
olle_ has quit [Ping timeout: 240 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
tane has quit [Quit: Leaving]
neiluj has quit [Quit: leaving]
Tuplanolla has quit [Quit: Leaving.]
Haudegen has quit [Ping timeout: 265 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
yichiehc has quit [Quit: Connection closed]