silver has quit [Read error: Connection reset by peer]
rwmjones_ has joined #ocaml
rwmjones has quit [Ping timeout: 240 seconds]
<_y>
random idea: wouldn’t it be feasible to have a symbolic link ~/.opam/current point to the current switch?
<companion_cube>
I've been wondering the same :s
<_y>
that would make switching easier (no need to update paths and so on), that would probably avoid problems with switches located under a path containing whitespaces
<_y>
hell, wouldn’t that even make switches relocatable? binaries and libraries would be linked with the path ~/.opam/current/…
AtumT has quit [Quit: AtumT]
<companion_cube>
I kind of like esy's idea that there shouldn't be a global active switch
Haudegen has quit [Read error: Connection reset by peer]
eskatrem has joined #ocaml
<eskatrem>
hi, does someone have a recommendation to edit ocaml on an android phone?
mfp has quit [Ping timeout: 250 seconds]
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 255 seconds]
gravicappa has joined #ocaml
<lyxia>
I have one: don't.
<_y>
speech recognition?
unyu has quit [Quit: brb]
unyu has joined #ocaml
<eskatrem>
well i want something to try snippets of code when i am not next to my computer
AnAverageHuman has quit [Ping timeout: 256 seconds]
jao has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ocaml
ggole has joined #ocaml
eskatrem has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
eskatrem has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 255 seconds]
eskatrem has quit [Remote host closed the connection]
Birdface has joined #ocaml
_whitelogger has joined #ocaml
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
_whitelogger has joined #ocaml
silver has joined #ocaml
kakadu_ has joined #ocaml
_whitelogger has joined #ocaml
iovec has joined #ocaml
<Fardale>
_y: with your solution you loose local switch
ravenousmoose has joined #ocaml
mfp has joined #ocaml
webshinra has quit [Remote host closed the connection]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Haudegen has joined #ocaml
<reynir>
_y: sorry, went afk... It's an oooold vim setup, I should probably start from fresh
rwmjones_ is now known as rwmjones
q9929t has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
q9929t has quit [Quit: q9929t]
eskatrem has joined #ocaml
ravenousmoose has joined #ocaml
<xvilka>
Hi! If I use Lwt (>>=) bind in the code, but want to use (>>=) bind for Stdlib.result monad, how to mix them in the same code?
<ggole>
You can use Lwt.(expr) so that Lwt's >>= is in scope in expr, or bind another operator
<xvilka>
ggole: I know about Lwt.(expr), it looks weird
<xvilka>
but! I like the idea to rebind to another operator
<xvilka>
genius
<xvilka>
thanks a lot
<Fardale>
you can use local open
<Fardale>
let open Lwt.Infix in
<Leonidas>
xvilka: rebinding makes it imho terrible to read
jao has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jesin has quit [Ping timeout: 245 seconds]
AnAverageHuman has joined #ocaml
caltelt_ has quit [Ping timeout: 246 seconds]
ravenousmoose has joined #ocaml
<cemerick>
Which came first, the explicit `functor` and `->` syntax for module functors, or the more "implicit" syntax for the same?
<ggole>
Since the latter is sugar for the former, almost certainly the former.
<ggole>
They might have been added at the same time, I suppose.
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian__ has quit [Ping timeout: 246 seconds]
<companion_cube>
I suspect `module Foo(Bar)` might have come first, and the anonymous syntax later (as higher-order functors are more of a niche case)
_whitelogger has joined #ocaml
jao has quit [Ping timeout: 246 seconds]
Haudegen has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
Jesin has joined #ocaml
Serpent7776 has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnavila has joined #ocaml
al-damiri has joined #ocaml
Keodedad has joined #ocaml
Haudegen has joined #ocaml
Algebr has joined #ocaml
jao has joined #ocaml
Keodedad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gravicappa has quit [Ping timeout: 245 seconds]
Algebr has quit [Remote host closed the connection]
TC01 has quit [Ping timeout: 255 seconds]
TC01 has joined #ocaml
AtumT has joined #ocaml
<cmk_zzz>
what do people use from html templates in ocaml? I found jingoo which seems to be like the standard template engine from other languages.
<Leonidas>
I use Tyxml, mostly
ggole has quit [Quit: Leaving]
<cmk_zzz>
Leonidas: Thanks. I like that style from Elm and Bucklescript-Tea so I'll give it a try
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
zolk3ri has joined #ocaml
Birdface has quit [Ping timeout: 255 seconds]
<Leonidas>
I could imagine one could continue to use the bucklescript-tea code that does the templating, but not entirely sure how interwoven it is with the rest
Serpent7776 has quit [Quit: leaving]
<cmk_zzz>
not sure either but it would be pretty cool to share this code
jnavila has quit [Ping timeout: 246 seconds]
NSA_Spy has joined #ocaml
_whitelogger has joined #ocaml
xuib has quit [Quit: xuib]
kvda has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
<NSA_Spy>
Hi, Can menhir generate source code with parse/generate functions?
Haudegen has quit [Remote host closed the connection]
sagax has joined #ocaml
kakadu_ has quit [Remote host closed the connection]