Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
noob9000 has quit [Quit: Client closed]
biog has quit [Quit: ZZZzzz…]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
biog has joined #ocaml
rgrinberg has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
caasih_ has joined #ocaml
lisq_ has joined #ocaml
riverdc has joined #ocaml
kronicma1 has joined #ocaml
chrisz_ has joined #ocaml
beise_ has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
caasih has quit [Ping timeout: 240 seconds]
lisq has quit [Ping timeout: 240 seconds]
beise has quit [Ping timeout: 240 seconds]
epony has quit [Ping timeout: 240 seconds]
kronicmage has quit [Ping timeout: 240 seconds]
riverdc_ has quit [Ping timeout: 240 seconds]
chrisz has quit [Ping timeout: 240 seconds]
caasih_ is now known as caasih
lisq_ has quit [Quit: lisq_]
lisq has joined #ocaml
epony has joined #ocaml
beise_ has quit [Read error: Connection reset by peer]
beise has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
chrisz_ has quit [Ping timeout: 250 seconds]
chrisz has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biog has quit [Quit: ZZZzzz…]
biog has joined #ocaml
biog has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
wagle has quit [Ping timeout: 240 seconds]
wagle has joined #ocaml
<ns12> Hello, are there any example Opium web apps built using dune?
<ns12> I am looking for a skeleton to get started with Opium + dune.
<ns12> The project structure of the examples (https://github.com/rgrinberg/opium/tree/master/example) doesn't match the structure produced by "dune init proj ..." ...
xiongxin has joined #ocaml
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 250 seconds]
xiongxin1 is now known as xiongxin
<ns12> Okay, I think I should be able to figure this out by experimentation, and by adopting the examples from https://dune.readthedocs.io/en/stable/quick-start.html
<ns12> Another question: Is there a naming convention for impure functions in OCaml, similar to the use of "!" in Scheme?
<d_bot> <NULL> Not that I know of
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
rgrinberg has joined #ocaml
hackinghorn has joined #ocaml
gravicappa has joined #ocaml
xiongxin has quit [Ping timeout: 250 seconds]
xiongxin has joined #ocaml
Techcable has quit [Ping timeout: 240 seconds]
shawnw has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pieguy128_ has quit [Ping timeout: 240 seconds]
pieguy128 has joined #ocaml
epony has quit [Quit: QUIT]
epony has joined #ocaml
Techcable has joined #ocaml
Techcable has quit [Remote host closed the connection]
Techcable has joined #ocaml
bartholin has joined #ocaml
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
kaph has quit [Read error: Connection reset by peer]
pieguy128 has quit [Ping timeout: 240 seconds]
pieguy128 has joined #ocaml
pieguy128 has quit [Ping timeout: 250 seconds]
pieguy128 has joined #ocaml
emad has quit [Ping timeout: 256 seconds]
mro has joined #ocaml
Serpent7776 has joined #ocaml
mro has quit [Remote host closed the connection]
pieguy128 has quit [Ping timeout: 250 seconds]
bartholin has quit [Ping timeout: 240 seconds]
mro has joined #ocaml
xiongxin1 has joined #ocaml
xiongxin has quit [Read error: Connection reset by peer]
xiongxin1 is now known as xiongxin
bartholin has joined #ocaml
Haudegen has joined #ocaml
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
mro has quit [Ping timeout: 250 seconds]
mro has joined #ocaml
mro has quit [Ping timeout: 250 seconds]
jlrnick has joined #ocaml
dhil has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
emad has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
azimut has quit [Ping timeout: 276 seconds]
<d_bot> <VPhantom> Jane Street (`Base`, `Core`, etc.) adds an `_exn` suffix to functions which may raise exceptions, but that's the only convention I'm aware of.
bartholin has quit [Ping timeout: 250 seconds]
bobo_ has quit [Ping timeout: 256 seconds]
bobo_ has joined #ocaml
salkin has joined #ocaml
salkin has quit [Client Quit]
spip has joined #ocaml
bobo_ has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
Tuplanolla has joined #ocaml
xiongxin has quit [Ping timeout: 250 seconds]
xiongxin has joined #ocaml
azimut has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
xiongxin1 has joined #ocaml
xiongxin has quit [Ping timeout: 240 seconds]
xiongxin1 is now known as xiongxin
mro has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
biog has joined #ocaml
shawnw has quit [Ping timeout: 250 seconds]
gravicappa has joined #ocaml
bartholin has quit [Ping timeout: 256 seconds]
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
shawnw has joined #ocaml
mro has quit [Remote host closed the connection]
mbuf has joined #ocaml
shawnw has quit [Ping timeout: 240 seconds]
<d_bot> <Shon> That tutorial is fairly old at this point however 🙂
<d_bot> <Shon> Last time I built a web app it was with dream, which is think is probably the go to now: it’s got more capability, incorporated a lot of what was great about opium, and is extremely well documented, including dozens of examples (using dune).
spip has quit [Quit: Konversation terminated!]
bartholin has quit [Ping timeout: 240 seconds]
spip has joined #ocaml
bartholin has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 250 seconds]
mro has joined #ocaml
jlrnick has quit [Ping timeout: 250 seconds]
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 240 seconds]
zebrag has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ocaml
xiongxin has quit [Ping timeout: 250 seconds]
xiongxin1 has joined #ocaml
xiongxin1 is now known as xiongxin
perrierjouet has quit [Quit: WeeChat 3.4]
dhil has quit [Quit: Leaving]
mro has quit [Remote host closed the connection]
mbuf has quit [Quit: Leaving]
bartholin has quit [Ping timeout: 250 seconds]
perrierjouet has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
thizanne has quit [Remote host closed the connection]
thizanne has joined #ocaml
pieguy128 has joined #ocaml
bartholin has quit [Ping timeout: 240 seconds]
vicfred has joined #ocaml
bartholin has joined #ocaml
kaph has joined #ocaml
mro has joined #ocaml
gravicappa has quit [Ping timeout: 256 seconds]
wyrd has quit [Remote host closed the connection]
wyrd has joined #ocaml
Serpent7776 has quit [Quit: leaving]
perrierjouet has quit [Quit: WeeChat 3.4]
perrierjouet has joined #ocaml
mro has quit [Ping timeout: 256 seconds]
mro has joined #ocaml
rgrinberg has joined #ocaml
<d_bot> <Emile Trotignon> Returning a `unit` type can tell it, and it's better practice to try and only have side effects in functions that return a unit type in my opinion
LACampbell has joined #ocaml
<LACampbell> ' let%test _ = ("" = "") ' can anyone explain why "" has type int here? ppx_inline_test"
<LACampbell> or rather - on the first empty string, I get "Expression has type string but an expression was expected of type int"
<d_bot> <NULL> Are you using `Base/Core` or any library which removes polymorphic equality ?
<LACampbell> yes I was. so, removing polymoprhic equality doesn't sound good
<d_bot> <NULL> It prevents stuff like `Fun.id = Fun.id`; base types' equalities are stored in their respective modules, so you're looking for `String.("" = "")`
<LACampbell> hmm. ok so it's just like doing arithmetic on Int64s or whatever, I know that pattern. thanks
<d_bot> <NULL> Pretty much
<LACampbell> related question - is there some reason why Base doesn't have String.trim?? :/
<LACampbell> std lib seems to have it
<LACampbell> oh it seems to be "trim"
<LACampbell> /s/trim/strip
mro_ has joined #ocaml
<d_bot> <leviroth> Overview of why base/core shadow polymorphic comparisons: https://blog.janestreet.com/the-perils-of-polymorphic-compare/
mro has quit [Ping timeout: 250 seconds]
vicfred has quit [Quit: Leaving]
bartholin has quit [Quit: Leaving]
emad has quit [Quit: Leaving]
epony has quit [Ping timeout: 240 seconds]
mro_ has quit [Quit: Leaving...]