adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
Jesin has quit [Quit: Leaving]
AnAverageHuman has quit [Ping timeout: 256 seconds]
Jesin has joined #ocaml
sagax has quit [Quit: Konversation terminated!]
amiloradovsky has quit [Ping timeout: 255 seconds]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
jao has quit [Remote host closed the connection]
silver has quit [Read error: Connection reset by peer]
jao has joined #ocaml
jao has quit [Remote host closed the connection]
AnAverageHuman has joined #ocaml
jao has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
notnotdan[m] has quit [Ping timeout: 256 seconds]
notnotdan[m] has joined #ocaml
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 250 seconds]
gravicappa has joined #ocaml
jao has quit [Ping timeout: 272 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]
assemblyman has joined #ocaml
nicoo has joined #ocaml
sodastabbed has joined #ocaml
sodastabbed has quit [Excess Flood]
nicootje has quit [Ping timeout: 256 seconds]
klntsky has quit [Ping timeout: 256 seconds]
Khady has quit [Ping timeout: 245 seconds]
sodastabbed has joined #ocaml
Khady has joined #ocaml
Khady has quit [Changing host]
Khady has joined #ocaml
sodastab has quit [Disconnected by services]
sodastabbed is now known as sodastab
cantstanya has quit [Ping timeout: 256 seconds]
cthuluh_ has joined #ocaml
klntsky has joined #ocaml
cantstanya has joined #ocaml
kalio has quit [Ping timeout: 246 seconds]
cthuluh has quit [Ping timeout: 246 seconds]
MasseR has quit [Ping timeout: 246 seconds]
Khady_ has joined #ocaml
Khady has quit [Ping timeout: 246 seconds]
assemblyman has quit [Quit: ™]
themsay has quit [Ping timeout: 246 seconds]
rixed has quit [Ping timeout: 245 seconds]
bronsen has quit [Ping timeout: 255 seconds]
rixed has joined #ocaml
MasseR has joined #ocaml
kalio has joined #ocaml
freyr69 has joined #ocaml
themsay has joined #ocaml
kjak has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
barockobamo has joined #ocaml
Khady_ has quit [Changing host]
Khady_ has joined #ocaml
Khady_ is now known as Khady
orbifx has joined #ocaml
asymptotically has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
orbifx has quit [Ping timeout: 252 seconds]
powerbit has quit [Ping timeout: 250 seconds]
<gahr> why the env variables need to be set every time the prompt gets printed?
<gahr> I think it's overkill, a simple one-time eval would do
freyr69 has quit [Ping timeout: 252 seconds]
SegFaultAX has quit [Ping timeout: 258 seconds]
SegFaultAX has joined #ocaml
rwmjones has quit [Ping timeout: 258 seconds]
themsay has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
<zozozo> gahr: in case of local switches and/or if you change your global switch in another console ?
asymptotically has quit [Ping timeout: 256 seconds]
<gahr> I think it should be up to you to decide whether you want those changes propagated to different consoles
<gahr> it's still overkill, as you don't probably tweak your env at every command you type
<zozozo> indeed, it's not always what you want/need, ^^
freyr69 has joined #ocaml
rwmjones has joined #ocaml
asymptotically has joined #ocaml
dhil has joined #ocaml
zolk3ri has joined #ocaml
gravicappa has quit [Ping timeout: 246 seconds]
rwmjones_ has joined #ocaml
rwmjones has quit [Ping timeout: 268 seconds]
bronsen has joined #ocaml
gravicappa has joined #ocaml
mfp has joined #ocaml
ggole has joined #ocaml
<freyr69> What is Immutable_float_array in OCaml? How does it distinct mutable and immutable one?
<freyr69> Is it constant?
<freyr69> only
themsay has quit [Ping timeout: 252 seconds]
themsay has joined #ocaml
<Drup> Isn't that a Core module ?
zolk3ri has quit [Remote host closed the connection]
<freyr69> it's ocaml/middle_end/allocated_const.mli, so I suppose it imply constant arrays
<freyr69>
<freyr69> I just thought if there are immutable arrays in ocaml beyond strings
_whitelogger has joined #ocaml
<ggole> For records of floats with constant fields, I presume
<ggole> Looks like it is used for float array patterns and float-specialised records.
silver has joined #ocaml
vimvigor[m] has joined #ocaml
ollehar has joined #ocaml
Haudegen has quit [Remote host closed the connection]
sagax has joined #ocaml
waleee has joined #ocaml
rwmjones_ is now known as rwmjones
dhil has quit [Ping timeout: 246 seconds]
dhil has joined #ocaml
ziyourenxiang has quit [Remote host closed the connection]
cthuluh_ is now known as cthuluh
Haudegen has joined #ocaml
<Leonidas> I'm looking at longident and Lident string is just types like `t` and Ldot is I assume `M.t` but what is `Lapply`?
<Leonidas> is it `F(M).t`?
spew has joined #ocaml
al-damiri has joined #ocaml
<def`> Yes.
<def`> Ldot (Lapply (Lident "F", Lident "M"), "t")
jao has joined #ocaml
ziyourenxiang has joined #ocaml
jao has quit [Remote host closed the connection]
miguelbe[m] has joined #ocaml
gaze___ has joined #ocaml
Ankhers_ has joined #ocaml
TC04 has joined #ocaml
psacrifi- has joined #ocaml
Ptival has joined #ocaml
kandu_ has joined #ocaml
seliopou_ has joined #ocaml
erwanou_ has joined #ocaml
jstolare1 has joined #ocaml
waleee1 has joined #ocaml
runciter_ has joined #ocaml
Redfoxmoon_ has joined #ocaml
waleee has quit [*.net *.split]
seastack has quit [*.net *.split]
jstolarek has quit [*.net *.split]
Madars has quit [*.net *.split]
Ptival_ has quit [*.net *.split]
TC01 has quit [*.net *.split]
erwanou has quit [*.net *.split]
gaze__ has quit [*.net *.split]
Redfoxmoon has quit [*.net *.split]
psacrifice has quit [*.net *.split]
runciter has quit [*.net *.split]
kandu has quit [*.net *.split]
Ankhers has quit [*.net *.split]
seliopou has quit [*.net *.split]
Ankhers_ is now known as Ankhers
Madars has joined #ocaml
FreeBirdLjj has joined #ocaml
<Leonidas> If I want to define attributes on Variants, how should I get their values? I remember I have to register somewhere that I have seen them so they can be marked as used?
notnotdan[m] has quit [Ping timeout: 256 seconds]
<Leonidas> oh, Attribute.declare and Attribute.get :)
goji has joined #ocaml
goji has quit [Client Quit]
<Leonidas> What is a "structure item"? It seems `let () = ()` is one.
<Leonidas> is it like "stuff you can write at the top level"?
<companion_cube> a toplevel binding or evaluation, yes
<companion_cube> an item in a `struct end`, also
AnAverageHuman has joined #ocaml
<Leonidas> okay, then to define multiple functions I probably need two structure items
<companion_cube> unless it's with `and`
<Leonidas> I could also do silly stuff like let (foo, bar) = (fun …, fun …).
<companion_cube> it's not silly, but just a bit weirder
<ggole> let f x = () and g x = ()
<Leonidas> I don't really like to use 'and' when there is no mutual recursion
<companion_cube> aren't you writing a ppx?
freyr69 has quit [Remote host closed the connection]
<Leonidas> but I need to return a structure so I can just as well return a list of structure items
<ggole> I agree about and, but I don't think readability is much of a concern in macro expansions
<Leonidas> true, but I can probably just make 2 structure items and not do any silliness :-)
Redfoxmoon_ has quit [Changing host]
Redfoxmoon_ has joined #ocaml
Redfoxmoon_ is now known as Redfoxmoon
<Leonidas> I was mostly wondering whether I understand what a structure item is
<ggole> It's a variant of the 'phrases' that can appear at top level, aiui
<ggole> Have you looked at the output of -dparsetree?
<ggole> It's easy to check things in the toplevel.
<Drup> Leonidas: the advantage of `and` is that you avoid one being in scope of the other.
<Drup> let ... and ... is very useful when writing ppxs to control the lexical scoping precisely
xqb16141 has quit [Quit: WeeChat 2.4]
lokydor has joined #ocaml
sz0 has joined #ocaml
xqb16141 has joined #ocaml
xqb16141 has quit [Client Quit]
moolc has joined #ocaml
AxiomaticEspress has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
q9929t has joined #ocaml
AnAverageHuman has quit [Ping timeout: 256 seconds]
AxiomaticEspress has quit [Client Quit]
AxiomaticEspress has joined #ocaml
q9929t has quit [Quit: q9929t]
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
AxiomaticEspress has quit [Client Quit]
AxiomaticEspress has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
ygrek has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
ziyourenxiang has quit [Ping timeout: 272 seconds]
barockobamo2 has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
barockobamo has quit [Ping timeout: 272 seconds]
Haudegen has quit [Remote host closed the connection]
tane has joined #ocaml
eric_G has left #ocaml ["The Lounge - https://thelounge.chat"]
Serpent7776 has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
barockobamo2 has quit [Ping timeout: 245 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
moolc has quit [Remote host closed the connection]
barockobamo2 has joined #ocaml
barockobamo2 has quit [Remote host closed the connection]
barockobamo has joined #ocaml
jao has joined #ocaml
dhil has quit [Ping timeout: 252 seconds]
ggole has quit [Quit: Leaving]
Haudegen has joined #ocaml
kjak has joined #ocaml
kjak_ has joined #ocaml
kjak has left #ocaml [#ocaml]
kjak_ has quit [Client Quit]
kjak has joined #ocaml
gareppa has joined #ocaml
barockobamo has quit [Remote host closed the connection]
gareppa has quit [Remote host closed the connection]
jao has quit [Remote host closed the connection]
lokydor[m] has joined #ocaml
jao has joined #ocaml
waleee1 has quit [Quit: WeeChat 2.4]
dhil has joined #ocaml
dhil has quit [Ping timeout: 246 seconds]
<Leonidas> Drup: You're right, this is a very good point.
<gikiam> d
<gikiam> uups, sorry
TC04 is now known as TC01
johnelse has quit [Read error: Connection reset by peer]
ravenousmoose has joined #ocaml
johnelse has joined #ocaml
gravicappa has quit [Ping timeout: 246 seconds]
amiloradovsky has joined #ocaml
kakadu_ has joined #ocaml
<Leonidas> anyone knows why it can't find Uri.to_bigquery in line 242? https://gist.github.com/Leonidas-from-XIV/4712643de6fc3c10f5f4080381babe05
<Leonidas> Uri is defined above and to_bigquery_protocol can be found just fine
<Leonidas> if I remove to_bigquery_protocol then compilation fails as expected, so the other generated code seems to be able to reference the Uri module just fine
nowl has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ocaml
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #ocaml
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
<Leonidas> Nevermind, I found the issue, it turns out opening modules willy-nilly like Mod.{} can bite you :(
al-damiri has quit [Quit: Connection closed for inactivity]
nowl has quit [Quit: Leaving]
AxiomaticEspress has quit [Quit: WeeChat 2.4]
AxiomaticEspress has joined #ocaml
AxiomaticEspress has quit [Client Quit]
AxiomaticEspress has joined #ocaml
Haudegen has quit [Remote host closed the connection]
sonologico has joined #ocaml
unyu has quit [Quit: ERC (IRC client for Emacs 26.1)]
Serpent7776 has quit [Quit: leaving]
Guest69559 has joined #ocaml
Guest69559 has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbifx has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
artart78 has joined #ocaml
tane has quit [Quit: Leaving]
seastack has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
asymptotically has quit [Quit: Leaving]
orbifx has quit [Ping timeout: 250 seconds]
Haudegen has quit [Remote host closed the connection]
ziyourenxiang has joined #ocaml
orbifx has joined #ocaml