toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
AtumT has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
FreeBirdLjj has joined #ocaml
toppler has quit [Ping timeout: 250 seconds]
fixme has quit [Quit: WeeChat 2.6]
rople has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
toppler has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
jao has quit [Ping timeout: 268 seconds]
tormen has joined #ocaml
toppler has quit [Ping timeout: 276 seconds]
tormen_ has quit [Ping timeout: 268 seconds]
mfp has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
silver has quit [Quit: rakede]
iovec has quit [Quit: Connection closed for inactivity]
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #ocaml
traviss has joined #ocaml
sagax has joined #ocaml
warriors has quit [Quit: Connection closed for inactivity]
toppler has quit [Ping timeout: 240 seconds]
analogue has quit [Quit: Leaving]
toppler has joined #ocaml
vicfred has joined #ocaml
kvda has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
rople has quit [Ping timeout: 250 seconds]
rople has joined #ocaml
nullifidian has joined #ocaml
nullifidian__ has quit [Ping timeout: 265 seconds]
toppler has joined #ocaml
gravicappa has joined #ocaml
mbuf has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
narimiran has joined #ocaml
toppler has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
bitwinery has quit [Quit: Leaving]
toppler has quit [Ping timeout: 250 seconds]
Serpent7776 has joined #ocaml
toppler has joined #ocaml
bartholin has quit [Remote host closed the connection]
adrianbrink has joined #ocaml
Haudegen has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
brillenfux has joined #ocaml
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #ocaml
toppler has quit [Ping timeout: 276 seconds]
toppler has joined #ocaml
jaar has joined #ocaml
gahr has quit [Quit: Reconnecting]
gahr has joined #ocaml
vesper has joined #ocaml
vesper11 has quit [Ping timeout: 265 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toppler has quit [Ping timeout: 240 seconds]
florest has joined #ocaml
toppler has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
mfp has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
<
Nikkel>
What's the best linter for Ocaml at the moment?
<
Nikkel>
with ppx support
toppler has quit [Ping timeout: 240 seconds]
Haudegen has quit [Quit: Bin weg.]
toppler has joined #ocaml
rople has quit [Ping timeout: 265 seconds]
<
xvilka>
ocamlformat?
<
xvilka>
there is also rotor
<
xvilka>
but both are not so well-polished yet
kakadu has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
<
Nikkel>
Alright. I think it's really difficult to get such things to work with eliom projects, but thanks for your help :)
jaar has quit [Ping timeout: 276 seconds]
toppler has joined #ocaml
<
Leonidas>
xvilka: ocamlformat is pretty alright I think
<
Leonidas>
wouldn't really call it a linter
<
Leonidas>
ocamlopt is what I use as linter :D
<
Leonidas>
can I somehow get a `module type` out of a module?
<
narimiran>
`fish: “opam install ocamlformat” terminated by signal SIGSEGV (Address boundary error)`
Haudegen has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
jaar has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
ggole has joined #ocaml
toppler has joined #ocaml
<
octachron>
Leonidas, only with "module type of"
kakadu has quit [Ping timeout: 250 seconds]
kakadu_ has joined #ocaml
<
Leonidas>
octachron: ah, thanks, that was exactly what I was looking for :)
kakadu_ has quit [Client Quit]
kakadu has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
spew has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
kakadu_ has quit [Quit: Konversation terminated!]
kakadu has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
toppler has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
warriors has joined #ocaml
jbrown has quit [Quit: Leaving]
jbrown has joined #ocaml
Serpent7776 has quit [Quit: Leaving]
smazga has joined #ocaml
toppler has quit [Ping timeout: 250 seconds]
zgasma has joined #ocaml
smazga has quit [Quit: leaving]
zgasma has quit [Client Quit]
smazga has joined #ocaml
toppler has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 250 seconds]
<
narimiran>
is there a better, idiomatic way than `let i = if my_bool then 1 else 0`?
<
companion_cube>
alas, no
<
ggole>
int_of_bool is one of those little utilities you get to write for yourself
<
companion_cube>
also, bool_of_int :/
toppler has quit [Ping timeout: 240 seconds]
<
companion_cube>
it's clearly the kind of things the compiler shoudl provide, as it can do it faster than you, but well
<
ggole>
You can cheat with %identity, but yeah
<
ggole>
Although maybe it would be nicer to have that pattern recognised, since that would also apply for some non-bool datatypes
<
companion_cube>
meh
<
companion_cube>
I mean, bool is very special anyway
nullifidian_ is now known as nullifidian
<
zozozo>
flambda2 should be able to optimize away int_of_bool into the identity hopefully
<
companion_cube>
wooo
toppler has joined #ocaml
<
Armael>
can't wait for 2025
<
companion_cube>
ah yes, when we'll have the first alpha of multicore ? :p
<
Armael>
and flambda2
<
companion_cube>
and safe-syntax 🤔
<
companion_cube>
sounds like it means the apocalypse will be in 2024 and we'll be using heaven-ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
Haudegen has quit [Quit: Bin weg.]
<
ggole>
Is there much written about flambda2?
<
Leonidas>
what is safe-syntax?
<
companion_cube>
an issue that will lead to nowhere, that I wrote in anger
<
Leonidas>
(i feel like I've just set up myself for an 'what's updog' joke)
<
companion_cube>
please like and subscribe
ziyourenxiang_ has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 265 seconds]
jao has joined #ocaml
toppler has joined #ocaml
jao has quit [Remote host closed the connection]
AtumT has joined #ocaml
toppler has quit [Ping timeout: 268 seconds]
kalio has quit [Ping timeout: 268 seconds]
Haudegen has joined #ocaml
toppler has joined #ocaml
sagax has quit [Ping timeout: 268 seconds]
kalio has joined #ocaml
jao has joined #ocaml
klntsky has quit [Remote host closed the connection]
klntsky has joined #ocaml
toppler has quit [Ping timeout: 245 seconds]
gareppa has joined #ocaml
mbuf has quit [Quit: Leaving]
toppler has joined #ocaml
jaar has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
neiluj has joined #ocaml
gareppa has quit [Quit: Leaving]
toppler has joined #ocaml
rosterok has joined #ocaml
neiluj has quit [Quit: neiluj]
bitwinery has joined #ocaml
neiluj has joined #ocaml
<
neiluj>
I'm playing with the graphics library in ocaml and got this error :
<
neiluj>
Fatal error: exception Graphics.Graphic_failure("cannot find font -*-fixed-medium-r-semicondensed--50-*-*-*-*-*-iso8859-1")
<
neiluj>
looks like I've got some packages missing?
toppler has quit [Ping timeout: 276 seconds]
florest has quit [Remote host closed the connection]
tane has joined #ocaml
toppler has joined #ocaml
DanC has joined #ocaml
vicfred has quit [Quit: Leaving]
kakadu_ has joined #ocaml
dhil has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
brillenfux has quit [Ping timeout: 250 seconds]
bartholin has joined #ocaml
toppler has joined #ocaml
<
flux>
neiluj: maybe your system doesn't have some font it assumes it to have
<
flux>
neiluj: try to use Graphics.set_font to set one that you do have
<
flux>
Like "-adobe-courier-*-*-*-*-*-*-*-*-*-*-*-*" might work
<
flux>
that being said, Graphics isn't a terrific graphics library
<
flux>
xfontsel can be used to find fonts in that archaic syntax :)
dhil has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 240 seconds]
neiluj has quit [Quit: neiluj]
andreas31 has quit [Ping timeout: 260 seconds]
neiluj has joined #ocaml
neiluj has joined #ocaml
neiluj has quit [Changing host]
toppler has joined #ocaml
<
neiluj>
thanks flux ! I'm trying that
neiluj has quit [Quit: neiluj]
sarahzrf has left #ocaml ["WeeChat 2.6"]
neiluj has joined #ocaml
<
neiluj>
it doesn't work :'(
<
neiluj>
I tried with the terminus font installed on my system : "-xos4-terminus-medium-r-*-*-14-*"
toppler has quit [Ping timeout: 268 seconds]
infinity0_ has quit [Ping timeout: 265 seconds]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
toppler has joined #ocaml
neiluj has quit [Quit: neiluj]
tane has quit [Quit: Leaving]
bitwinery has quit [Quit: Leaving]
andreas303 has joined #ocaml
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 240 seconds]
gravicappa has quit [Ping timeout: 240 seconds]
sagax has joined #ocaml
narimiran has quit [Ping timeout: 268 seconds]
toppler has joined #ocaml
jnavila has quit [Remote host closed the connection]
ggole has quit [Quit: Leaving]
jbrown has quit [Ping timeout: 276 seconds]
jbrown has joined #ocaml
infinity0 has quit [Read error: Connection reset by peer]
infinity0 has joined #ocaml
toppler has quit [Ping timeout: 240 seconds]
infinity0 has quit [Remote host closed the connection]
rosterok has quit [Quit: Connection closed for inactivity]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
nullifidian_ has joined #ocaml
toppler has joined #ocaml
nullifidian has quit [Ping timeout: 276 seconds]
kakadu_ has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #ocaml
Jesin has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
smazga has quit [Quit: leaving]
spew has quit [Quit: Connection closed for inactivity]
toppler has joined #ocaml
toppler has quit [Ping timeout: 265 seconds]
Haudegen has quit [Ping timeout: 265 seconds]
hop3 has joined #ocaml
toppler has joined #ocaml