waleee-cl has quit [Quit: Connection closed for inactivity]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
hackinghorn has joined #ocaml
<hackinghorn>
hi
<hackinghorn>
I'm learning Arg module, why does running ocamlopt gives me "Unbound constructor Arg.Set"
<hackinghorn>
oh hey its not Pervasives anymore, it is Stdlib
<hackinghorn>
oh it looks like dune works, but running ocamlopt will give error
bartholin has joined #ocaml
ania123 has joined #ocaml
ania123 has quit [Quit: Connection closed]
ania123 has joined #ocaml
ania123 has quit [Quit: Connection closed]
mfp has joined #ocaml
bjorkintosh has quit [Remote host closed the connection]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
olle has quit [Ping timeout: 265 seconds]
madroach_ has joined #ocaml
madroach has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
madroach_ has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
hackinghorn has quit [Quit: Leaving]
Haudegen has quit [Quit: Bin weg.]
_ks has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
olle has quit [Remote host closed the connection]
zebrag has joined #ocaml
Haudegen has joined #ocaml
TheLemonMan has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
Eoco has quit [Ping timeout: 240 seconds]
waleee-cl has joined #ocaml
mro_name has joined #ocaml
mro_name has quit [Client Quit]
mxns has joined #ocaml
mro_name has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
Haudegen has quit [Quit: Bin weg.]
mro_name has quit [Quit: Leaving...]
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
Tuplanolla has joined #ocaml
bartholin has quit [Quit: Leaving]
Haudegen has joined #ocaml
neiluj has joined #ocaml
neiluj has quit [Changing host]
neiluj has joined #ocaml
mbuf has quit [Quit: Leaving]
vicfred has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<st8less>
I've been beating my head against the wall trying to learn lexing/parsing. My search skills haven't found an "easy" way to dump tokens from ocamllex. Is there one? I ended up writing a sloppy function to dump it to the console, and this helps a ton. https://pastebin.com/gSEiJrCc
zebrag has joined #ocaml
wonko7 has quit [Ping timeout: 240 seconds]
labor[m] has quit [Ping timeout: 245 seconds]
lnxw37d4 has quit [Ping timeout: 245 seconds]
labor[m] has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
lnxw37d4 has joined #ocaml
narimiran has quit [Ping timeout: 252 seconds]
vicfred has quit [Quit: Leaving]
<d_bot>
<johnhaley81> Is there a place to post job openings for OCaml/ReasonML teams?
<d_bot>
<EduardoRFS> Besides of `assert(false)` and ignoring the stdlib how many ways there is to create a universal generic type in OCaml? A value of type `'a`?
olle has joined #ocaml
<d_bot>
<hhugo> `type a = |;;
<d_bot>
<hhugo> type a = |
<d_bot>
<hhugo> let f : a -> 'a = function _ -> .;;
<olle>
It's working, I was just confused by all the extra warnings :)
<d_bot>
<EduardoRFS> yeah but that doesn't allow you to create a value, there is no type that will satisfy this `f` but that's a new trick
olle has quit [Ping timeout: 240 seconds]
<d_bot>
<undu> I've seen them at discuss.ocaml.org
<d_bot>
<mimoo> what's the current consensus on what standard library to use? The ocaml official one? Janestreet Core? Batteries? Container?
<companion_cube>
no consensus exists :)
yomimono has quit [Ping timeout: 240 seconds]
Tuplanolla has quit [Quit: Leaving.]
<d_bot>
<mimoo> why are some messages written by bots?
<d_bot>
<mimoo> is that a matrix bridge or smthg?
neiluj has quit [Quit: leaving]
<d_bot>
<bikal> Is the use of Obj.obj and Obj.repr discouraged in Ocaml? Are they stable? Obj module is exposed in stdlib so it should be okayidh, right?
<companion_cube>
yes, there is a bridge, @mimoo (to IRC)
<companion_cube>
BitPuffin: very discouraged
<companion_cube>
err
<companion_cube>
@bikal: very discouraged
<companion_cube>
it's not documented and very, very unsafe