adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Current MOOC: https://huit.re/ocamlmooc | OCaml 4.04.0 release notes: http://ocaml.org/releases/4.04.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
orbifx has quit [Ping timeout: 240 seconds]
agarwal1975 has quit [Quit: agarwal1975]
sh0t has quit [Remote host closed the connection]
P4Titan has quit [Remote host closed the connection]
yomimono has quit [Ping timeout: 240 seconds]
yomimono has joined #ocaml
mengu has quit [Remote host closed the connection]
orbifx has joined #ocaml
hcarty has quit [Ping timeout: 258 seconds]
orbifx has quit [Ping timeout: 258 seconds]
KV has joined #ocaml
KV has quit [Ping timeout: 240 seconds]
yomimono has quit [Ping timeout: 256 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
nomicflux has joined #ocaml
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
danieltornabene has joined #ocaml
KV has joined #ocaml
mengu has joined #ocaml
FreeBirdLjj has joined #ocaml
<danieltornabene> having problems getting opam to find a package I installed using it (not the system package manager).
KV has quit [Ping timeout: 240 seconds]
<danieltornabene> there seem to be a number of SO posts about this but nothing suggested so far has worked for me, and I'm looking for any tips on interrogating opam state such that I can find out why it can't seem to find this package
mengu has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 276 seconds]
<danieltornabene> anybody?
<danieltornabene> any opam users here have a minute?
lucasem has joined #ocaml
mfp has quit [Ping timeout: 264 seconds]
newbie36 has joined #ocaml
newbie36 is now known as lolisa
KV has joined #ocaml
govg has quit [Ping timeout: 276 seconds]
KV has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
mengu has joined #ocaml
agarwal1975 has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
copy` has quit [Quit: Connection closed for inactivity]
snhmib has quit [Ping timeout: 252 seconds]
<tokenrove> danieltornabene: I find when this happens that careful examination of ~/.opam/<whatever>/lib often reveals something like the opam package name is not the same as the package name that ocamlbuild recognizes; for example ounit vs oUnit
<danieltornabene> tokenrove: thank you!
<danieltornabene> tokenrove: sorry, i didn't see this for a few minutes
<tokenrove> not sure if this is your problem, but this has happened to me several times. (and the first time, it was immensely confusing.)
<danieltornabene> yeah, i'm not sure what exactly the problem is
<danieltornabene> i've tried manually configuring my bash path to look in ~/.opam/system/lib, which is where I thought it was supposed to look, but doesn't seem to be
<danieltornabene> If I chdir all the way into say, ~/.opam/system/lib/core, then I can pull it in under utop or simply the toplevel, but otherwise I have yet to be able to simply fire up utop and be able to access core
<tokenrove> in the case of core, what happens when you run "coretop"?
<danieltornabene> haven't done it yet! tell you in just a second
<danieltornabene> !!!!
<danieltornabene> interesting
<danieltornabene> coretop works, from $HOME, no problem, but I can't pull in any of the other libraries I've installed via opam
KV has joined #ocaml
<danieltornabene> so this is clearly some kind of env variable problem
snhmib has joined #ocaml
<tokenrove> when you type #require "whateverlib";; in coretop, what error do you get?
KV has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
manizzle has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 255 seconds]
jao has quit [Ping timeout: 245 seconds]
<danieltornabene> you know what, its all good, I was doing it wrong.
<danieltornabene> thank you so much for taking the time to help me
shinnya has quit [Ping timeout: 240 seconds]
<tokenrove> no problem. have fun!
<danieltornabene> tokenrove: I really appreciate the time taken to help out an ocaml noob
<danieltornabene> thank you!
nomicflux has quit [Quit: nomicflux]
wtetzner has quit [Remote host closed the connection]
obadz has quit [Ping timeout: 276 seconds]
obadz has joined #ocaml
KV has joined #ocaml
KV has quit [Ping timeout: 240 seconds]
danieltornabene has quit [Quit: Leaving]
lolisa has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
snhmib has quit [Ping timeout: 255 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
william-s has quit [Remote host closed the connection]
william-s has joined #ocaml
KV has joined #ocaml
ygrek_ has quit [Ping timeout: 255 seconds]
KV has quit [Ping timeout: 264 seconds]
snhmib has joined #ocaml
yomimono has joined #ocaml
yomimono has quit [Ping timeout: 256 seconds]
shinnya has joined #ocaml
snhmib has quit [Ping timeout: 252 seconds]
snhmib has joined #ocaml
LeCamarade has joined #ocaml
LeCamarade has quit [Quit: [BX] Where do you want to go today?]
KV has joined #ocaml
KV has quit [Ping timeout: 240 seconds]
william-s has quit [Quit: WeeChat 1.7]
Algebr has quit [Ping timeout: 256 seconds]
shinnya has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #ocaml
MercurialAlchemi has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
KV has joined #ocaml
KV has quit [Ping timeout: 255 seconds]
Simn has joined #ocaml
govg has joined #ocaml
Algebr has joined #ocaml
chetshah has joined #ocaml
Algebr has quit [Ping timeout: 256 seconds]
chetshah has quit [Ping timeout: 260 seconds]
Mercuria1Alchemi has quit [Ping timeout: 255 seconds]
chetshah has joined #ocaml
KV has joined #ocaml
KV has quit [Ping timeout: 248 seconds]
troydm has quit [Ping timeout: 255 seconds]
kakadu has joined #ocaml
troydm has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 245 seconds]
rand__ has joined #ocaml
FreeBirdLjj has joined #ocaml
Sim_n has joined #ocaml
Simn has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
vramana has joined #ocaml
govg has quit [Ping timeout: 248 seconds]
KV has joined #ocaml
govg has joined #ocaml
KV has quit [Ping timeout: 252 seconds]
malc_ has joined #ocaml
ygrek_ has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
ygrek_ has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
govg has quit [Ping timeout: 245 seconds]
chetshah has quit [Quit: Page closed]
slash^ has joined #ocaml
govg has joined #ocaml
Algebr has joined #ocaml
Algebr is now known as Guest50577
govg has quit [Remote host closed the connection]
govg has joined #ocaml
Guest50577 has quit [Ping timeout: 240 seconds]
KV has joined #ocaml
KV has quit [Ping timeout: 252 seconds]
zpe has joined #ocaml
mfp has joined #ocaml
infinity0 has quit [Remote host closed the connection]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 255 seconds]
fre3 has joined #ocaml
KV has joined #ocaml
fre2 has quit [Ping timeout: 252 seconds]
zpe has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
orbifx has joined #ocaml
<pitastrudl> ty companion_cube, i will need it
Algebr has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 252 seconds]
Algebr has quit [Ping timeout: 256 seconds]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
kakadu has quit [Remote host closed the connection]
shinnya has joined #ocaml
KV has quit [Ping timeout: 252 seconds]
sfri has quit [Remote host closed the connection]
jnavila has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
slash^ has joined #ocaml
Algebr has joined #ocaml
sfri has joined #ocaml
Algebr has quit [Ping timeout: 260 seconds]
zirman has quit [Changing host]
zirman has joined #ocaml
vramana has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
jao has joined #ocaml
danieltornabene has joined #ocaml
KV has joined #ocaml
nomicflux has joined #ocaml
KV has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
Algebr is now known as Guest72041
Guest72041 has quit [Ping timeout: 252 seconds]
jao has quit [Ping timeout: 240 seconds]
jnavila has quit [Ping timeout: 240 seconds]
KV has joined #ocaml
FreeBirdLjj has joined #ocaml
ncthom91 has joined #ocaml
ncthom91 has quit [Max SendQ exceeded]
ncthom91 has joined #ocaml
ncthom91 has quit [Max SendQ exceeded]
ncthom91 has joined #ocaml
ncthom91 has quit [Max SendQ exceeded]
ncthom91 has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 255 seconds]
jnavila has joined #ocaml
jmiven has quit [Quit: co'o]
jmiven has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 276 seconds]
wtetzner has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 245 seconds]
mengu has joined #ocaml
shinnya has quit [Ping timeout: 264 seconds]
octarin has joined #ocaml
larhat has joined #ocaml
orbifx has quit [Ping timeout: 260 seconds]
chetshah has joined #ocaml
<chetshah> Hello all, Ocaml beginner here.
<chetshah> I get error: tuareg: init: Symbol's value as variable is void: opam-load-path
larhat has quit [Ping timeout: 252 seconds]
yomimono has joined #ocaml
copy` has joined #ocaml
KV_ has joined #ocaml
KV has quit [Ping timeout: 256 seconds]
<jerith> chetshah: It looks like the problem is in the spacemacs ocaml setup in https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/ocaml somewhere.
<jerith> What do you get when you run "opam config var share" in a terminal?
<chetshah> I get /home/jayshah/.opam/4.02.3/share
<jerith> From what I can see, the elisp is looking at the output of that and, if it gets anything, setting some variables.
FreeBirdLjj has joined #ocaml
<chetshah> Yes from funcs.el it seems it assusmes opam-load-path to be already defined.
<jerith> It defines it on line 20, but that's inside the (when share ...).
<mengu> chetshah: are you on macOS?
<jerith> I suspect not, based on "/home" instead of "/Users". :-)
<mengu> oh i did not pay attention to that
<mengu> i asked that because i installed opam with brew and for tuareg and merlin to work, i had to add /usr/local/bin to emacs PATH
<mengu> (add-to-list 'exec-path "/usr/local/bin")
<mengu> (setenv "PATH" (concat ":/usr/local/bin:" (getenv "PATH")))
<mengu> and to exec-path list
sepp2k has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
<jerith> chetshah: If you run "opam config var share" in emacs with M-x shell-command, do you get something different?
<mengu> when i check my PATH i also see "/Users/mengu/.opam/system/bin"
<chetshah> ah.. I am running spacemacs by specifying HOME variable to emacs which is a different dir (~/spacemacs) from home so it says .opam not found in spacemacs/
<mengu> does anybody know if janestreet's core will be available for 4.04?
ncthom91 has quit [Quit: Textual IRC Client: www.textualapp.com]
octachron has joined #ocaml
<octachron> mengu, hard to know with 4.05 around the corner
<mengu> looks like i have to go back to 4.02
Algebr has joined #ocaml
nomicflux has quit [Quit: nomicflux]
jao has joined #ocaml
Algebr has quit [Remote host closed the connection]
<copy`> core works on 4.04, doesn't it?
<mengu> copy`: nope :(
ocalm_ has joined #ocaml
<copy`> It does for me
<mengu> copy`: actually
<mengu> it's dependencies..
<mengu> - ppx_core<113.25.00 is not available because your system doesn't comply with ocaml-version >= "4.02.3" & ocaml-version < "4.03.0"
<copy`> I have ppx_core 113.33.01+4.03 installed on 4.04
<copy`> Are you using opam's internal solver?
<mengu> yes, opam install core
<copy`> Try `opam install ppx_core=113.33.01+4.03` first
KV_ is now known as KV
jao has quit [Ping timeout: 255 seconds]
<mengu> copy`: looks like i already have that
<copy`> Something is wrong with your opam setup, but I'm not really sure how to debug it
<mengu> let me get rid of it all
<mengu> aight i did
<mengu> it looks like i had two ocaml installations
<mengu> shit
ygrek_ has joined #ocaml
<mengu> same err
orbifx has joined #ocaml
<copy`> Did you do `opam update`? How about `opam install --verbose core` or `opam install --verbose core=113.33.02+4.03`
<mengu> alright, i'm upgrading existing packages
rand__ has quit [Quit: leaving]
<mengu> it recompiled ppx_core 113.33.01+4.03
<mengu> copy`: it is now installing core
<mengu> after running opam update and opam upgrade
<mengu> thank you copy`.
<copy`> Cool, have fun
govg has joined #ocaml
<chetshah> On sending current buffer to utop with (SPC m s b), It says Symbol's function definition is void tuareg-skip-blank-and-comments.
<chetshah> It uses utop-eval-buffer
yomimono has quit [Ping timeout: 240 seconds]
<chetshah> utop-eval-buffer is broken?
<chetshah> ah looks like https://github.com/diml/utop/issues/153 is helpful.
fre3 has quit [Ping timeout: 258 seconds]
fre3 has joined #ocaml
infinity0 has joined #ocaml
chetshah has quit [Quit: Page closed]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
KV has quit [Ping timeout: 260 seconds]
danieltornabene has quit [Quit: Leaving]
mengu has quit [Ping timeout: 248 seconds]
mengu has joined #ocaml
wtetzner has quit [Remote host closed the connection]
nylar has joined #ocaml
chetshah has joined #ocaml
<chetshah> It seems utop-eval-buffer is broken indeed.
<chetshah> probably because of some recent change in tuareg-mode looks like variable
<chetshah> tuareg-skip-blank-and-comments to tuareg--skip-blank-and-comments (two-dashes)
chetshah has quit [Quit: Page closed]
slash^ has quit [Read error: Connection reset by peer]
kakadu has joined #ocaml
malc_ has quit [Remote host closed the connection]
nylar has quit [Quit: nylar]
orbifx has quit [Ping timeout: 276 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
octarin has quit [Ping timeout: 260 seconds]
mengu has quit [Quit: Leaving...]
octarin has joined #ocaml
troydm has joined #ocaml
vramana has joined #ocaml
octarin has quit [Ping timeout: 256 seconds]
nomicflux has joined #ocaml
jnavila has quit [Remote host closed the connection]
<Leonidas> jerith: I'll try to review your PR tomorrow. But upon idle thinking, it seems to me that functorizing the endpoint URI seems the way to go. That way we could potentially store a per-endpoint id cache as well.
<jeroud> Cool.
<jeroud> I've written a few more tests today that I haven't pushed.
<jeroud> And uncovered a couple of issues. :-)
* jeroud thinks.
FreeBirdLjj has joined #ocaml
<jeroud> Do we need to functorize? We could pass around an opaque session value with the endpoint, token, and mutable id cache in it instead, which might be easier.
<jeroud> Since we already pass the token to pretty much everything that would need the session.
FreeBirdLjj has quit [Ping timeout: 240 seconds]
myst|fon has quit [Quit: Connection closed for inactivity]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<orbitz> Does anyone kno why Hashtbl has this really weird, IMO, semantics of keeping historic bindings around??
myst|fon has joined #ocaml
ocalm_ has quit [Ping timeout: 248 seconds]
<tokenrove> orbitz: my conjecture is that it is to make it easy to create environments with shadowing in compilers and interpreters
<orbitz> hrm quite possibly.
nomicflux has quit [Quit: nomicflux]
ygrek_ has quit [Ping timeout: 255 seconds]
nomicflux has joined #ocaml
wtetzner has joined #ocaml
wtetzner has quit [Read error: Connection reset by peer]
wtetzner_ has joined #ocaml
ohama has quit [Ping timeout: 256 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 255 seconds]
sh0t has joined #ocaml
kakadu has quit [Remote host closed the connection]
Sim_n has quit [Quit: Leaving]
vicfred has joined #ocaml
StatelessCat has joined #ocaml
StatelessCat has quit [Changing host]
StatelessCat has joined #ocaml
rand__ has joined #ocaml
octachron has quit [Quit: Leaving]