<Enjolras>
jgkamat: yes it is, probably there then
<jgkamat>
ok, thanks. I'm actually going to try to submit a patch if I can figure out how to rebuild core, if not, I'll submit an issue
<Enjolras>
generally, you can do "opam show package" and a lot of package have a field bug-reports: with an url to report bug too
tezos_noob has quit [Ping timeout: 276 seconds]
<Enjolras>
if it's not filled and dev-repo: is github or gitlab you probably can assume tracker is used on github/gitlab
<jgkamat>
ah, that's really useful :D
<jgkamat>
I'm very new to ocaml and it's tooling, sorry for that...
<Enjolras>
np :)
rixed has quit [Quit: "moving house"]
rixed has joined #ocaml
webshinra has quit [Remote host closed the connection]
shinnya has joined #ocaml
<xvilka>
hi
<reynir>
hi
<xvilka>
If I have a long list of functions like this: https://pastebin.com/erW29YLX - how I can "fold" the code? So the function body will be written only once, but will use different modules (see Module1 and Module2)?
webshinra has joined #ocaml
<octachron>
xvilka, option 1: pass the "of_bigarray" and "extract_files" functions as arguments (as a a record for instance), option 2: first-class modules
lostman has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 264 seconds]
<xvilka>
octachron: thanks! seems 2nd solution is better
Guest34158 has joined #ocaml
dinosaure has joined #ocaml
freyr69 has joined #ocaml
tarptaeya has joined #ocaml
mali__ has quit [Ping timeout: 260 seconds]
argent_smith has joined #ocaml
tarptaeya has quit [Ping timeout: 256 seconds]
tarptaeya has joined #ocaml
mfp has joined #ocaml
ColeW_Picaro has joined #ocaml
ColeW_Picaro has quit [Quit: Leaving]
Guest34158 has quit [Remote host closed the connection]
ColeW_Picaro has joined #ocaml
jao has joined #ocaml
dakk has joined #ocaml
ColeW_Picaro has quit [Quit: Leaving]
ColeW_Picaro has joined #ocaml
zolk3ri has joined #ocaml
ColeW_Picaro has quit [Quit: Leaving]
tarptaeya has quit [Ping timeout: 260 seconds]
tarptaeya has joined #ocaml
tarptaeya has quit [Ping timeout: 268 seconds]
tarptaeya has joined #ocaml
tarptaeya_ has joined #ocaml
tarptaeya has quit [Ping timeout: 268 seconds]
tarptaeya_ has quit [Ping timeout: 240 seconds]
jaar has joined #ocaml
tarptaeya_ has joined #ocaml
troydm has quit [Ping timeout: 240 seconds]
tarptaeya_ has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 244 seconds]
kakadu has joined #ocaml
tarptaeya_ has joined #ocaml
ziyourenxiang has joined #ocaml
tarptaeya has joined #ocaml
tarptaeya_ has quit [Ping timeout: 268 seconds]
tarptaeya_ has joined #ocaml
tarptaeya_ has quit [Read error: Connection reset by peer]
<cjd>
anyway, easier to chat here b/c I don't need to keep monitoring a tab that's lost in my browser
mali__ has quit [Ping timeout: 248 seconds]
<cjd>
did you consider dynamically linking to libuv in order to be able to compile to a node native module ?
<discord>
<antron> i use discord desktop app with notifications
<discord>
<antron> no, but i suppose there is no reason not to. except plumbing/maintenance
<cjd>
I think one of the big use cases will be for making fast nodejs modules
<cjd>
I have 2 use cases: 1. making embeddable self-contained binaries which code something like nodejs and 2. making fast modules which run in nodejs
<cjd>
3. being able to load that code on the client side is kind of just icing on the cake
<cjd>
but I'm not everyone, these are use cases which are specific to how I use nodejs
FreeBirdLjj has quit [Remote host closed the connection]
argent_smith2 has quit [Quit: Leaving.]
<discord>
<antron> it should all be possible. the only difficulty i foresee right now is supporting different versions of nodejs and therefore libuv
<discord>
<antron> right now i sidestep that by vendoring libuv, but we can solve that in some other way as well
<cjd>
fair point
mahem1 has quit [Quit: Page closed]
<cjd>
could just breakout into js land for a second and then jump back in
<cjd>
it should still be reasonably quick
<cjd>
quicker than writing the entire app in js
<cjd>
and if you can make something that a person can just `npm install` and it will auto-build, then you have made magic
<discord>
<antron> i'll add a note about this stuff to the roadmap in the readme for now. it would be a ways off i think, as we still have the api to cover, and a bunch of other work to do with it. but if you want to work on whatever build plumbing is needed earlier, contributions are of course very welcome 😃
<discord>
<antron> needed for node native modules that is
<cjd>
+1
<cjd>
I'm really really young at ocaml, I basically started looking at it yesterday
<cjd>
I *might* be of some little bit of usefulness
<cjd>
But actually, what I need in the immediate term in order to test porting my scripts over is udp and timers
<cjd>
but I can just run ahead w/ Uwt and then come back when luv has udp
<discord>
<antron> well luv has timers, but not udp yet (only tcp). so yeah uwt is probably good
<cjd>
luv is going to be nice, this >>= is a cognitive load
<discord>
<antron> hope so 😃
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
dakk has quit [Remote host closed the connection]
<spew>
is there a way to tell the ocaml compiler not to immediately fail after the first error but to attempt to continue compiling so I can get more errors all at once?
<Drup>
Hmm, I doubt >>= will disapear
kakadu has joined #ocaml
<LPeter1997>
You all were right. Starting with a lexer and parser is a huge pain in the functional world. Especially when you have an imperative mindset.
<LPeter1997>
There is a special thing when you write 'function' after a let binding, which means that it's a pattern match on the last parameter. Does it have a name? I've noticed that for example 'parse' is a similar construct.
eni has quit [Ping timeout: 256 seconds]
silver has joined #ocaml
spew has quit [Quit: goinghome]
Denommus has joined #ocaml
<steenuil>
it's a shorthand for let f x = match x with ...
<steenuil>
instead you can write let f = function ...
<Armael>
also note that 'parse' is not valid ocaml and only works in .mll files
<steenuil>
dunno if it has a name
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
LPeter1997 has quit [Quit: Page closed]
<discord>
<struktured> @rgrinberg does this pr add support for generation of json schemas, or could it be used for such a feature eventually? https://github.com/mjambon/atd/pull/44
tane has joined #ocaml
nullifidian_ has joined #ocaml
tane has quit [Quit: Leaving]
<thizanne>
Armael: 'parse' used to be a keyword simiar to 'function' with the stream ubiquitous camlp4 extension, old examples may still use it
<thizanne>
or 'parser' it was ?
Haudegen has quit [Read error: Connection reset by peer]
<Armael>
ah yes
<Armael>
but this is a thing of the past now
nullifidian has quit [Ping timeout: 248 seconds]
jbrown has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
Fare has quit [Ping timeout: 256 seconds]
Fare has joined #ocaml
ColeW_Picaro has quit [Quit: Leaving]
pierpa has joined #ocaml
dtornabene has quit [Remote host closed the connection]
aciniglio has quit [Ping timeout: 248 seconds]
_andre has quit [Quit: leaving]
argent_smith has joined #ocaml
Fare has quit [Ping timeout: 248 seconds]
kvda has joined #ocaml
mlh_ has joined #ocaml
Denommus has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
mali__ has joined #ocaml
mlh_ has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 256 seconds]
kakadu has quit [Remote host closed the connection]
cbot has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
kvda has quit [Read error: Connection reset by peer]
argent_smith has quit [Quit: Leaving.]
shinnya has joined #ocaml
Haudegen has quit [Remote host closed the connection]