ollehar has quit [Ping timeout: 256 seconds]
ollehar has joined #ocaml
jmorris has joined #ocaml
jmorris has quit [Quit: Leaving]
mangoicedtea has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
ollehar has quit [Ping timeout: 240 seconds]
ollehar has joined #ocaml
SoniEx2 has joined #ocaml
SoniEx2 has quit [Remote host closed the connection]
spew has quit [Quit: Connection closed for inactivity]
cthuluh has quit [Quit: leaving]
cthuluh has joined #ocaml
mfp has quit [Ping timeout: 260 seconds]
vicfred has joined #ocaml
_whitelogger has joined #ocaml
reynir has quit [Ping timeout: 246 seconds]
reynir has joined #ocaml
nkly has joined #ocaml
mbuf has joined #ocaml
Jesin has quit [Quit: Leaving]
vicfred has quit [Quit: Leaving]
osa1 has joined #ocaml
Haudegen has joined #ocaml
dckc has quit [Ping timeout: 246 seconds]
dckc has joined #ocaml
jmorris has joined #ocaml
nkly has quit [Ping timeout: 272 seconds]
gahr_ is now known as gahr
jmorris has quit [Read error: Connection reset by peer]
mbuf has quit [Ping timeout: 240 seconds]
<
Leonidas>
companion_cube: bloomberg only employed the BS author and that was a long time ago
<
Leonidas>
so now BS and ReasonML are Facebook-funded
<
Leonidas>
but from what I understand ReasonML will stop catering for the JS platform, which was the only thing people used ReasonML for
<
Leonidas>
people who used ReasonML for native code used that other syntax, the one that kinda looks like Haskell or SML
<
Leonidas>
can't remember the name, something with ml too
White_Flame has quit [Ping timeout: 240 seconds]
White_Flame has joined #ocaml
nkly has joined #ocaml
nkly has quit [Ping timeout: 272 seconds]
dhil has joined #ocaml
mbuf has joined #ocaml
mfp has joined #ocaml
_whitelogger has joined #ocaml
troydm has quit [Ping timeout: 240 seconds]
jbrown has joined #ocaml
eureton has joined #ocaml
troydm has joined #ocaml
craigfe has quit [Ping timeout: 246 seconds]
craigfe has joined #ocaml
craigfe has quit [Quit: WeeChat 2.9]
jco has joined #ocaml
<
Leonidas>
possibly!
<
jco>
hello! So I'd like to implement my modules with an abstract type, it suffices to add a type t and function operating on this type
<
jco>
is it possible to use this same type accross modules?
jmorris has joined #ocaml
<
jco>
hum i could for instance take a specific type alias for t when i implement each module
jco has quit [Quit: WeeChat 2.7]
dhil has quit [Ping timeout: 256 seconds]
ggole has joined #ocaml
dhil has joined #ocaml
mbuf has quit [Quit: Leaving]
eagleflo has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<
flux1>
not sure what you mean, but yes, you can refer to that abstract type from other modules. I think it's like the whole point.
inkbottle has quit [Quit: Konversation terminated!]
jmorris has quit [Ping timeout: 265 seconds]
zebrag has joined #ocaml
mbuf has joined #ocaml
dckc has quit [Ping timeout: 246 seconds]
dckc has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
eureton has quit [Ping timeout: 260 seconds]
eureton has joined #ocaml
Haudegen has joined #ocaml
<
d_bot>
<Et7f3> @Leonidas: reasonml is still a thing and receive update 3.8 is around the corner + regular ocaml syntax can be used for native
<
d_bot>
<Et7f3> it is just their is 3 syntax now reasonml, ocaml, rescript and rescript is specially targeted on js the two other are hybrid
eureton has quit [Ping timeout: 260 seconds]
eureton has joined #ocaml
spew has joined #ocaml
reynir has quit [Ping timeout: 265 seconds]
<
flux1>
rescript cannot be used for native, but ocaml can still be used to target js?
reynir has joined #ocaml
dhil has quit [Ping timeout: 246 seconds]
<
companion_cube>
with jsoo, at least, yes
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
zebrag has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 272 seconds]
zebrag has joined #ocaml
<
defolos>
I am facing a really weird issue, I have the following function:
<
defolos>
let string_of_filter : filter filter_or_constraint -> string = function
<
defolos>
| Filter f -> let f_as_str = filter_to_string f in
<
defolos>
(if f_as_str = "with-test" then "" else f_as_str)
<
defolos>
and the compiler complains that f_as_str should be of type int but it's a string
<
defolos>
which I really don't get
<
defolos>
why should it be an integer?
<
Fardale>
defolos: did you open Core Base or Containers?
<
defolos>
Fardale: yes, I opened Core
<
defolos>
but just core
<
Fardale>
I think Core bring monomorphique operator, so = is only for int
jbrown has joined #ocaml
dhil has joined #ocaml
<
defolos>
well that's counterintuitive
<
defolos>
hm, and it also overrides `compare`?
dhil has quit [Client Quit]
<
flux1>
I belive they do. They don't like the polymorphic comparison operator. It's reasonable to dislike them, though :).
<
defolos>
well, I have no opinion on that as I'm still a beginner
<
defolos>
how do I compare strings now though if I open Core?
dhil has joined #ocaml
<
d_bot>
<Anurag> You can do `String.(a = b)`
<
defolos>
yes! thank you!
vicfred has joined #ocaml
webshinra has joined #ocaml
mbuf has quit [Quit: Leaving]
waleee-cl has joined #ocaml
<
vsiles>
defolos: String.equal/String.compare work too
kit_ty_kate has joined #ocaml
mbuf has joined #ocaml
monad_cat has joined #ocaml
ocabot has quit [Ping timeout: 258 seconds]
maker has quit [Ping timeout: 258 seconds]
ocabot has joined #ocaml
maker has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
rosterok has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
mbuf has quit [Quit: Leaving]
dhil has joined #ocaml
amiloradovsky has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
j14159_ has quit [Quit: Connection closed for inactivity]
osa1 has joined #ocaml
amiloradovsky has quit [Ping timeout: 260 seconds]
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #ocaml
eureton has quit [Ping timeout: 260 seconds]
tane has joined #ocaml
ggole has quit [Quit: Leaving]
osa1 has quit [Quit: osa1]
swapnilraj[m] is now known as swapnilrajOld[m]
swapnilraj[m] has joined #ocaml
Johann has joined #ocaml
monad_cat has quit [Quit: Connection closed for inactivity]
rosterok has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #ocaml
jbrown has quit [Ping timeout: 272 seconds]
sonologico has joined #ocaml
jbrown has joined #ocaml
<
ollehar>
ReasonML stop catering JS? No way
<
ollehar>
They renamed it to something
tane has quit [Quit: Leaving]
spew has quit [Quit: Connection closed for inactivity]
nullcone has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 272 seconds]
mangoicedtea has joined #ocaml
Haudegen has quit [Quit: Bin weg.]