companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
smazga has joined #ocaml
tane has quit [Quit: Leaving]
mxns has joined #ocaml
bartholin has quit [Ping timeout: 246 seconds]
mxns has quit [Ping timeout: 265 seconds]
smazga has quit [Ping timeout: 265 seconds]
Tuplanolla has quit [Quit: Leaving.]
richbridger has joined #ocaml
metreo has quit [Quit: metreo]
rock64 has quit [Ping timeout: 240 seconds]
rock64 has joined #ocaml
osa1_ has joined #ocaml
osa1 has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 264 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
smazga has joined #ocaml
mxns has quit [Ping timeout: 272 seconds]
mxns has joined #ocaml
smazga has quit [Ping timeout: 264 seconds]
mxns_ has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
smazga has joined #ocaml
mxns_ has quit [Ping timeout: 265 seconds]
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
catt has quit [Remote host closed the connection]
catt has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
smazga has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 240 seconds]
mmohammadi9812 has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 256 seconds]
mfp_ has quit [Ping timeout: 240 seconds]
mmohammadi9812 has joined #ocaml
catt has quit [Remote host closed the connection]
smazga has quit [Ping timeout: 272 seconds]
smazga has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
Jeanne-Kamikaze has joined #ocaml
Jeanne-Kamikaze has quit [Client Quit]
catt has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 240 seconds]
mmohammadi9812 has joined #ocaml
smazga has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
amiloradovsky has quit [Remote host closed the connection]
smazga has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
mmohammadi9812 has quit [Ping timeout: 264 seconds]
mmohammadi9812 has joined #ocaml
decentpe- has joined #ocaml
decentpenguin has quit [Ping timeout: 265 seconds]
decentpe- is now known as decentpenguin
smazga has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
mbuf has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
kit_ty_kate has quit [Ping timeout: 272 seconds]
smazga has quit [Ping timeout: 240 seconds]
Tuplanolla has joined #ocaml
smazga has joined #ocaml
jnavila has joined #ocaml
kini has quit [Ping timeout: 264 seconds]
krkini has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
Haudegen has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
<d_bot> <Ulugbek> during development, I usually just "jump to definition"
<d_bot> <craigfe> `ocp-browser` can also be good.
olle has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 246 seconds]
mfp_ has joined #ocaml
zolk3ri_ has joined #ocaml
mbuf has joined #ocaml
zolk3ri_ has quit [Quit: leaving]
Anarchos has joined #ocaml
mmohammadi9812 has quit [Ping timeout: 264 seconds]
mmohammadi9812 has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
<d_bot> <tjammer> I use `odig doc` for that purpose
amiloradovsky has joined #ocaml
metreo has joined #ocaml
zebrag has joined #ocaml
krkini has quit [Remote host closed the connection]
kini has joined #ocaml
tane has joined #ocaml
mbuf has quit [Ping timeout: 264 seconds]
smazga has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
smazga has quit [Ping timeout: 265 seconds]
vicfred has joined #ocaml
rdivyanshu has joined #ocaml
ygrek has joined #ocaml
olle has quit [Ping timeout: 246 seconds]
neiluj has joined #ocaml
neiluj has quit [Changing host]
neiluj has joined #ocaml
raver has quit [Read error: Connection reset by peer]
smazga has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 264 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 256 seconds]
raver has joined #ocaml
smazga has joined #ocaml
waleee-cl has joined #ocaml
smazga has quit [Ping timeout: 240 seconds]
worc3131 has joined #ocaml
smazga has joined #ocaml
worc3131 has quit [Ping timeout: 272 seconds]
bjorkintosh has quit [Quit: Leaving]
mxns has joined #ocaml
rdivyanshu has quit [Quit: Connection closed for inactivity]
olle has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
RalfJ has quit [Ping timeout: 260 seconds]
<d_bot> <mbacarella> is there a widely agreed upon term for a module that is an argument for a functor?
<d_bot> <mbacarella> functee? 😅
<Armael> "functor argument" might be less surprising
smazga has quit [Ping timeout: 256 seconds]
RalfJ has joined #ocaml
smazga has joined #ocaml
smazga has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
mxns has joined #ocaml
olle has quit [Ping timeout: 264 seconds]
smazga has quit [Ping timeout: 246 seconds]
Anarchos has joined #ocaml
smazga has joined #ocaml
noonien has quit [Quit: The Lounge - https://thelounge.chat]
smazga has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
smazga has joined #ocaml
<d_bot> <mbacarella> hmm. ok. what would you call the product of a functor make?
smazga has quit [Ping timeout: 264 seconds]
<d_bot> <mbacarella> `module Name_me = Functor.Make (Functor_arg)`
<Anarchos> d_bot depends on the 'Functor' real name
<Anarchos> d_bot look at the module Set for examples
<d_bot> <mbacarella> i'm trying to name a module that would contain a general set of functor makes
<d_bot> <mbacarella> so,
<d_bot> <mbacarella> ```
<d_bot> <mbacarella> module Name_me = struct
<d_bot> <mbacarella> module Foo = Thing.Make (Fa)
<d_bot> <mbacarella> module Bar = Completely_different_thing.Make (Fa)
<d_bot> <mbacarella> end
<d_bot> <mbacarella> ```
<d_bot> <mbacarella> i've been mentally calling it either `Entry` or `Combined` but that's unsatisfying
<d_bot> <craigfe> I've used `Make_arg` in the past 😉
<Drup> the result/output of a functor.
<d_bot> <craigfe> Ah, the _result_. Skim read too fast.
<d_bot> <mbacarella> result is way overloaded
<d_bot> <mbacarella> in ocaml
<d_bot> <mbacarella> hmm maybe i can just use result from other languages
<d_bot> <mbacarella> Ergebnis
<d_bot> <mbacarella> sounds cool
tane has quit [Quit: Leaving]
<d_bot> <anmonteiro> `module AbstractBeanFactory`
<d_bot> <anmonteiro> 🙈
<d_bot> <Drup> @pilothole Ah, you are lookin for a naming convetion
<d_bot> <Drup> well, `Foo.Make(A)` -> FooA or AFoo.
<d_bot> <mbacarella> not exactly
smazga has joined #ocaml
<d_bot> <mbacarella> it's probably too hard to nail down
<d_bot> <Christophe> Is your module that combines stuff a functor also?
<d_bot> <Christophe> Basically what you're trying to do, is that if the result of a functor is called a banana, you'd call your module something like `FaBananas`?
<d_bot> <Christophe> (sorry for the banana acting as placeholder 😂)
<d_bot> <Christophe> you could probably call it an image, as a functor is a module function, so how about `FaImages` or `Images`?
mxns has quit [Ping timeout: 240 seconds]
smazga has quit [Ping timeout: 264 seconds]
smazga has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
<d_bot> <mbacarella> ok let me explain. there's a library called ctypes that lets you write pure ocaml to bind C functions. that part is easy though the build rules to set it up are long and mostly redundant. i'm working on a thing to generate the build rules for you. all you need to provide is
<d_bot> <mbacarella> 1. a module 'functions' with a functor make filled out
<d_bot> <mbacarella> 2. a module 'types' with a functor make filled out
<d_bot> <mbacarella> 3. the name of an entry or result or combined module you want the completely instantiated two above functors bundled under
smazga has quit [Ping timeout: 240 seconds]
<d_bot> <mbacarella> the third thing is what i'm having trouble naming. i'm using `generated_entry_point` as the config variable name
<d_bot> <mbacarella> though that doesn't sound very satisfying
<d_bot> <Drup> pick the name of the first file, capitalize it, and stick "Generated" after.
mxns has joined #ocaml
smazga has joined #ocaml
beajeanm has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
noonien has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
smazga has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
mxns has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
Tuplanolla has quit [Quit: Leaving.]
neiluj has quit [Quit: leaving]
smazga has quit [Ping timeout: 272 seconds]
smazga has joined #ocaml
oriba has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
smazga has quit [Ping timeout: 246 seconds]
smazga has joined #ocaml
smazga has quit [Ping timeout: 265 seconds]
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]