adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
hvn has joined #ocaml
weird_error has joined #ocaml
hvn has quit [Ping timeout: 240 seconds]
weird_error has quit [Client Quit]
kvda has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
hvn has joined #ocaml
AtumT_ has quit [Quit: AtumT_]
hvn has quit [Ping timeout: 240 seconds]
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #ocaml
jimt has quit [Ping timeout: 246 seconds]
jimt has joined #ocaml
hvn has joined #ocaml
andreas303 has quit [Read error: Connection reset by peer]
andreas303 has joined #ocaml
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
andreas303 has quit [Ping timeout: 260 seconds]
hvn has quit [Ping timeout: 265 seconds]
andreas303 has joined #ocaml
hvn has joined #ocaml
hvn has quit [Ping timeout: 245 seconds]
gravicappa has joined #ocaml
hvn has joined #ocaml
picolino has quit [Ping timeout: 265 seconds]
hvn has quit [Ping timeout: 240 seconds]
picolino has joined #ocaml
hvn has joined #ocaml
hvn has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
hvn has joined #ocaml
mbuf has joined #ocaml
narimiran has joined #ocaml
hvn has quit [Ping timeout: 240 seconds]
hvn has joined #ocaml
bartholin has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
jaar has joined #ocaml
Serpent7776 has joined #ocaml
Haudegen has joined #ocaml
hvn has quit [Ping timeout: 245 seconds]
hvn has joined #ocaml
hvn has quit [Ping timeout: 246 seconds]
barockobamo has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
hvn has joined #ocaml
<narimiran> hi, in dune file i have `(names foo01 foo02 foo03 foo04 ...)`, is there a way to replace it with some kind of `(names foo*)`?
<rgrinberg> narimiran: there is not
<narimiran> thanks
jaar has quit [Ping timeout: 276 seconds]
jaar has joined #ocaml
mfp has joined #ocaml
hvn has quit [Ping timeout: 276 seconds]
dmiles has quit [Ping timeout: 246 seconds]
hvn has joined #ocaml
picolino has quit [Ping timeout: 240 seconds]
picolino has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gareppa has joined #ocaml
dmiles has joined #ocaml
gareppa has quit [Remote host closed the connection]
picolino has quit [Ping timeout: 245 seconds]
TheLemonMan has joined #ocaml
picolino has joined #ocaml
ggole has joined #ocaml
picolino has quit [Ping timeout: 276 seconds]
<reynir> narimiran: are they autogenerated files?
<narimiran> reynir: no, those are my Advent of Code files named day01, day02, ... day25 :)
picolino has joined #ocaml
<narimiran> but ok, i can do it manually, it is not a big problem
<narimiran> now for a more important question: i need to iterate over a list, and for each entry i need to modify (global) Map (it is basically a count table); i have a function that i want to run on each entry, which returns modified Map (it changes a value of one key) — how do i reflect those changes in the global Map?
<narimiran> can i somehow pass the Map to List.iter, so it is updated on every iteration?
picolino has quit [Ping timeout: 245 seconds]
picolino has joined #ocaml
bitwinery has quit [Quit: Leaving]
<ggole> You probably want List.fold_left. It won't modify anything, but you can pass the new version of the map along to each iteration (and get it as a result of the fold).
kakadu has joined #ocaml
<narimiran> ggole: i haven't thought about `fold_left`, but now when you said it — it seems like a logical and simple solution :) thank you!
kakadu has quit [Client Quit]
kakadu has joined #ocaml
GreyFaceNoSpace has quit [Quit: Ex-Chat]
Haudegen has quit [Quit: Bin weg.]
_5HT has joined #ocaml
_5HT has quit [Remote host closed the connection]
_5HT has joined #ocaml
hvn has quit [Ping timeout: 268 seconds]
gareppa has joined #ocaml
picolino has quit [Ping timeout: 268 seconds]
picolino has joined #ocaml
Guest12161 has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Guest12161 has quit [Remote host closed the connection]
jao- has joined #ocaml
gahr has quit [Quit: leaving]
gahr has joined #ocaml
picolino has quit [Ping timeout: 240 seconds]
silver has joined #ocaml
kakadu_ has joined #ocaml
_5HT has quit [Remote host closed the connection]
kakadu has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
gareppa has quit [Quit: Leaving]
kakadu_ has left #ocaml [#ocaml]
_5HT has joined #ocaml
tane has joined #ocaml
_5HT has quit [Client Quit]
kakadu_ has joined #ocaml
zolk3ri has joined #ocaml
kakadu has joined #ocaml
kakadu_ has quit [Ping timeout: 245 seconds]
kakadu has quit [Ping timeout: 245 seconds]
kakadu_ has joined #ocaml
pat39 has joined #ocaml
pat39 has left #ocaml [#ocaml]
mfp has quit [Ping timeout: 265 seconds]
PatJ has joined #ocaml
jao- has quit [Ping timeout: 265 seconds]
PatJ has quit [Ping timeout: 240 seconds]
PatJ has joined #ocaml
PatJ has quit [Quit: leaving]
malc_ has joined #ocaml
PatJ has joined #ocaml
mbuf has quit [Quit: Leaving]
kakadu_ has quit [Ping timeout: 268 seconds]
kakadu has joined #ocaml
malina has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
mk__ has joined #ocaml
mk__ has quit [Remote host closed the connection]
mfp has joined #ocaml
mk__ has joined #ocaml
penguwin has joined #ocaml
<mk__> I've pinned a package in opam (with libraries in _build directory). However, ocamlfind doesn't find it. is there any step that I've missed in pinning?
jao has joined #ocaml
smazga has joined #ocaml
<PatJ> mk__: Did you install the package or just pin it? What package is it? Did you remember to refresh your opam environment to the current switch?
picolino has joined #ocaml
<mk__> Yes, I did opam install. What do you mean with refreshing opam environment?
<PatJ> eval `opam config env`
<mk__> (I cloned the library, made the packages locally (which has build the libraries in _build), and then run opam pin + opam install
<mk__> refreshing didn't work. Do I need to add pin inside _build?
<PatJ> I don't think so
<mk__> Yes, doesn't work
<PatJ> What library are you using?
<mk__> ctypes
<PatJ> lemme try
<PatJ> it works on my computer
<PatJ> using "git clone git@github.com:ocamllabs/ocaml-ctypes.git; opam pin .; ocamlfind -query ctypes"
<PatJ> (you don't need to build before pinning and installing opam does it for you)
<PatJ> (i forgot to add cd in my list of commands)
<mk__> hmm, I actually did the same. Let me do a fresh install
<PatJ> (this might be unrelated, but what is your opam version?)
jao has quit [Ping timeout: 264 seconds]
Serpent7776 has quit [Quit: Leaving]
malina has quit [Remote host closed the connection]
<mk__> 2.0.5
<PatJ> and it still doesn't work with a fresh clone?
<PatJ> Did you opam update? What's your ocamlfind version?
Haudegen has quit [Quit: Bin weg.]
malina has joined #ocaml
<mk__> PatJ: I get No rule to make target 'libffi.config'. Dtop
<mk__> Stop
<mk__> I remember I did a bit of trick last time to remove this error (I copied the file from .opam ctypes into my pinned directory, just to quickly and temporarily fix it)
ziyourenxiang has quit [Ping timeout: 240 seconds]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
chindy_ has quit [Quit: No Ping reply in 180 seconds.]
chindy has joined #ocaml
<PatJ> mk__: this sounds like a make error
<PatJ> what does ocamlfind -query ctypes return?
<mk__> yes, what I said above was for a different problem. Ignore it. Looks like package str is not installed.
vicfred has quit [Quit: Leaving]
<mk__> opam doesn't recognize str, how to install it?
count3rmeasure has joined #ocaml
<PatJ> isn't it installed along with ocaml?
AtumT has joined #ocaml
FreeBirdLjj has joined #ocaml
barockobamo has quit [Remote host closed the connection]
picolino has quit [Ping timeout: 265 seconds]
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
vicfred has joined #ocaml
Serpent7776 has joined #ocaml
yomimono has joined #ocaml
<mk__> ocaml reinstallation fixed it
bartholin has joined #ocaml
Haudegen has joined #ocaml
picolino has joined #ocaml
augfab has quit [Ping timeout: 240 seconds]
augfab has joined #ocaml
narimiran has quit [Remote host closed the connection]
narimiran has joined #ocaml
PatJ has quit [Quit: leaving]
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
gareppa has joined #ocaml
spew has joined #ocaml
count3rmeasure has quit [Quit: Leaving]
webshinra has joined #ocaml
FreeBird_ has quit [Remote host closed the connection]
whoopwhoop has joined #ocaml
whoopwhoop has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
mk__ has quit [Ping timeout: 260 seconds]
jaar has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
jnavila has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
amiloradovsky has joined #ocaml
_5HT has joined #ocaml
kakadu has joined #ocaml
_5HT has quit [Remote host closed the connection]
kakadu has quit [Ping timeout: 268 seconds]
gravicappa has quit [Ping timeout: 245 seconds]
kakadu has joined #ocaml
gareppa has quit [Quit: Leaving]
iovec has joined #ocaml
amiloradovsky has quit [Ping timeout: 268 seconds]
tane has quit [Quit: Leaving]
ggole has quit [Quit: Leaving]
jnavila has quit [Remote host closed the connection]
nahra has quit [Quit: ERC (IRC client for Emacs 26.2)]
narimiran has quit [Ping timeout: 240 seconds]
GreyFaceNoSpace has joined #ocaml
spew has quit [Quit: going home]
zapashcanon has quit [Quit: Cheers !]
malc_ has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
zapashcanon has joined #ocaml
zapashcanon has joined #ocaml
zapashcanon has quit [Changing host]
Serpent7776 has quit [Quit: leaving]
smazga has quit [Quit: leaving]
bitwinery has joined #ocaml
yomimono has quit [Quit: Lost terminal]
iovec has quit [Quit: Connection closed for inactivity]
kakadu has quit [Remote host closed the connection]
malina has quit [Remote host closed the connection]
AtumT has quit [Quit: AtumT]
jbrown has quit [Ping timeout: 246 seconds]
jbrown has joined #ocaml
_5HT has joined #ocaml
_5HT has quit [Ping timeout: 240 seconds]
Haudegen has quit [Ping timeout: 245 seconds]
ziyourenxiang has joined #ocaml
threewood has joined #ocaml
simpson has joined #ocaml
traviss has quit [Quit: Leaving]