companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.0 released(!!1!): https://ocaml.org/releases/5.0.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
ridcully has quit [Ping timeout: 276 seconds]
Tuplanolla has quit [Ping timeout: 268 seconds]
ridcully has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
edr has quit [Quit: Leaving]
azimut has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
<discocaml> <infrno2609> Is ocaml and haskell similar ?
bartholin has quit [Quit: Leaving]
<dh`> yes and no
Serpent7776 has joined #ocaml
<dh`> in what ways are you thinking of?
<discocaml> <gooby_clown> Similar in fundamentals: algebraic datatypes, functions fundamental, could compare syntax
<discocaml> <gooby_clown> Different in other features: Haskell has typeclasses, good amount of extensions, purity etc. OCaml has modules, subtyping, mutation, OOP etc.
jlrnick has joined #ocaml
masterbuilder has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
dhil has joined #ocaml
jlrnick has quit [Remote host closed the connection]
noonien85 has joined #ocaml
dnh has joined #ocaml
<discocaml> <darrenldl> ugh, duckduckgo is flooded by the fake ocamlwiki results
_whitelogger has joined #ocaml
<discocaml> <darrenldl> welp, at least it's self contained enough for now for a site exclusion filter to work
xd1le has joined #ocaml
azimut has joined #ocaml
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dnh has joined #ocaml
mro has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
Anarchos has joined #ocaml
edr has joined #ocaml
<discocaml> <deepspacejohn> ocamlwiki triggers my work computer's antivirus software now.
<greenbagels> Is it that bad
<greenbagels> Oh god it is
hannes__ is now known as hannes
habnabit_ has quit [Ping timeout: 245 seconds]
habnabit_ has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
szkl has joined #ocaml
mro has quit [Quit: Leaving]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
daimrod has joined #ocaml
troydm has quit [Ping timeout: 252 seconds]
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
waleee has joined #ocaml
<companion_cube> omg another round of menhir fucking up my CI builds
<companion_cube> so tired of that
<companion_cube> wake up, gitlab.inria.fr
troydm has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
<companion_cube> this makes me so mad, I don't want to use anything by fpottier just because of that now
<greenbagels> companion_cube: out of spite? :p
tremon has joined #ocaml
infinity0_ has joined #ocaml
infinity0 is now known as Guest2611
infinity0_ is now known as infinity0
Guest2611 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
<tremon> does anyone know the correct incantation to disable dune's sandboxing for a foreign build? the obvious (deps (sandbox none) (source_tree mydir)) still results in write errors
<companion_cube> greenbagels: no, because it's the packages that break regularly
<greenbagels> companion_cube: ah
<discocaml> <__muffin> The module / type class split interests me a lot
<discocaml> <__muffin> Are there many people who have a strong preference for modules over type classes? I haven’t heard any super compelling arguments for modules
<discocaml> <__muffin> In the code I write I find myself wanting type classes but I know there are people like graydon hoare that like ML modules, but I feel like doing anything with modules is a little more verbose than an equivalent type class implementation
<companion_cube> at this point I might prefer typeclasses, but it's 30y too late
<discocaml> <gooby_clown> Well firstly, personally I don't see the module/typeclass duality (I don't know if there is anything preventing them from coexisting?), since they serve different purposes. I really like modules as a code organisation tool, they are very disciplined and flexible. Typeclasses are nice but I don't find myself desiring ad-hoc polymorphism often, if anything sometimes I'm glad they are not there, especially when I see Haskell code full of type
dnaq has quit [Remote host closed the connection]
dnaq has joined #ocaml
<discocaml> <contextfreebeer> have you read this? https://existentialtype.wordpress.com/2011/04/16/modules-matter-most/
<discocaml> <contextfreebeer> here's another blogpost that talks about this one and elaborates on the points a lot more https://www.pathsensitive.com/2023/03/modules-matter-most-for-masses.html
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
Anarchos has joined #ocaml
<greenbagels> unless im misunderstanding something, wouldn't the typeclass analogy in ocaml have to include not just modules but functors?
end has quit [Quit: end]
end has joined #ocaml
bcksl has quit [Quit: \]
bcksl has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
dhil has quit [Ping timeout: 260 seconds]
_alix has quit [Ping timeout: 245 seconds]
brettgilio has quit [Ping timeout: 245 seconds]
philipwhite has quit [Read error: Connection reset by peer]
patrick__ has quit [Read error: Connection reset by peer]
pluviaq has quit [Read error: Connection reset by peer]
sleepydog has quit [Read error: Connection reset by peer]
whereiseveryone has quit [Read error: Connection reset by peer]
philipwhite has joined #ocaml
patrick__ has joined #ocaml
brettgilio has joined #ocaml
whereiseveryone has joined #ocaml
sleepydog has joined #ocaml
pluviaq has joined #ocaml
_alix has joined #ocaml
b0o has quit [Read error: Connection reset by peer]
arya_elfren has quit [Remote host closed the connection]
ymherklotz has quit [Read error: Connection reset by peer]
henrytill has quit [Read error: Connection reset by peer]
seeg has quit [Read error: Connection reset by peer]
Ankhers has quit [Read error: Connection reset by peer]
jakzale has quit [Read error: Connection reset by peer]
soni_ has quit [Remote host closed the connection]
_alix has quit [Read error: Connection reset by peer]
ggb has quit [Write error: Connection reset by peer]
sleepydog has quit [Read error: Connection reset by peer]
brettgilio has quit [Write error: Connection reset by peer]
whereiseveryone has quit [Read error: Connection reset by peer]
pluviaq has quit [Write error: Connection reset by peer]
richardhuxton has quit [Write error: Connection reset by peer]
patrick__ has quit [Read error: Connection reset by peer]
toastal has quit [Write error: Connection reset by peer]
kuruczgy has quit [Read error: Connection reset by peer]
migalmoreno has quit [Read error: Connection reset by peer]
immutable_ has quit [Read error: Connection reset by peer]
philipwhite has quit [Remote host closed the connection]
philipwhite has joined #ocaml
ggb has joined #ocaml
patrick__ has joined #ocaml
brettgilio has joined #ocaml
richardhuxton has joined #ocaml
arya_elfren has joined #ocaml
kuruczgy has joined #ocaml
immutable has joined #ocaml
whereiseveryone has joined #ocaml
pluviaq has joined #ocaml
_alix has joined #ocaml
ymherklotz has joined #ocaml
henrytill has joined #ocaml
seeg has joined #ocaml
migalmoreno has joined #ocaml
jakzale has joined #ocaml
sleepydog has joined #ocaml
Ankhers has joined #ocaml
soni_ has joined #ocaml
toastal has joined #ocaml
b0o has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
Serpent7776 has quit [Quit: leaving]
szkl has joined #ocaml
bartholin has quit [Quit: Leaving]
h0rror has quit [Remote host closed the connection]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
xd1le has quit [Quit: xd1le]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masterbuilder has joined #ocaml