adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.06.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.06/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Fare has quit [Ping timeout: 240 seconds]
olle has quit [Ping timeout: 244 seconds]
olle has joined #ocaml
ben__ has joined #ocaml
pierpal has quit [Ping timeout: 240 seconds]
pioneer42 has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
Fare has joined #ocaml
Fare has quit [Ping timeout: 240 seconds]
pioneer42 has left #ocaml [#ocaml]
cobreadmonster has joined #ocaml
Haudegen has quit [Remote host closed the connection]
ben__ has quit [Remote host closed the connection]
granttrec has quit [Ping timeout: 244 seconds]
mfp has quit [Ping timeout: 256 seconds]
ygrek has quit [Ping timeout: 240 seconds]
ben__ has joined #ocaml
cbot has joined #ocaml
cbot has quit [Client Quit]
ben__ has quit [Remote host closed the connection]
pierpal has joined #ocaml
unyu has quit [Quit: Reboot.]
unyu has joined #ocaml
ben__ has joined #ocaml
ben__ has quit [Ping timeout: 244 seconds]
ygrek has joined #ocaml
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 256 seconds]
Jesin has quit [Quit: Leaving]
granttrec has joined #ocaml
pierpa has quit [Quit: Page closed]
ben__ has joined #ocaml
ben__ has quit [Ping timeout: 240 seconds]
JimmyRcom_ has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
malina has joined #ocaml
bartholin has quit [Ping timeout: 240 seconds]
granttrec has quit [Remote host closed the connection]
JimmyRcom_ has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
JimmyRcom_ has joined #ocaml
Fare has joined #ocaml
JimmyRcom_ has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 244 seconds]
malina has quit [Ping timeout: 264 seconds]
cobreadmonster has quit [Quit: Connection closed for inactivity]
zolk3ri has joined #ocaml
Fare has joined #ocaml
ben__ has joined #ocaml
ben__ has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 248 seconds]
olle has quit [Ping timeout: 248 seconds]
<rseymour>
malina has joined #ocaml
Fare has joined #ocaml
moei has quit [Quit: Leaving...]
moei has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
malina has quit [Ping timeout: 256 seconds]
TarVanimelde has joined #ocaml
Fare has quit [Ping timeout: 240 seconds]
malina has joined #ocaml
argent_smith has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
sophiag has quit [Ping timeout: 268 seconds]
jao has joined #ocaml
Haudegen has joined #ocaml
freyr69 has joined #ocaml
kakadu has joined #ocaml
jao has quit [Ping timeout: 240 seconds]
rwmjones is now known as rwmjones|hols
ben______ has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
ben______ has quit [Remote host closed the connection]
ygrek has quit [Remote host closed the connection]
dakk has joined #ocaml
mfp has joined #ocaml
ben______ has joined #ocaml
ben______ has quit [Ping timeout: 256 seconds]
argent_smith has quit [Quit: Leaving.]
ben has joined #ocaml
malina has quit [Ping timeout: 260 seconds]
ben has quit [Remote host closed the connection]
discord has quit [Remote host closed the connection]
<Leonidas> hmm, dune ocamllex doesn't seem to work anymore: https://dune.readthedocs.io/en/latest/dune-files.html#ocamllex
<Leonidas> I have (ocamllex (lexer)) and it used in jbuild but doesn't in dune
<Leonidas> Error: field modules missing
<Fardale> you maybe need to remove some parenthesis with dune
<Leonidas> Fardale: no, I need to add the modules list and the documentation is also wrong. I guess I'll file a bug report
Fistine has quit [Quit: WeeChat 1.6]
tobiasBora has quit [Quit: WeeChat 1.6]
theglass has joined #ocaml
theglass has joined #ocaml
theglass has quit [Changing host]
Fardale has quit [Ping timeout: 268 seconds]
demonimin has quit [Remote host closed the connection]
ben has joined #ocaml
malina has joined #ocaml
ben has quit [Remote host closed the connection]
ben has joined #ocaml
demonimin has joined #ocaml
malina has quit [Ping timeout: 248 seconds]
<Leonidas> the cool thing is, now that I filed it, it turns out is a duplicate :-)
Haudegen has quit [Remote host closed the connection]
mahem1 has joined #ocaml
zv has quit [Ping timeout: 264 seconds]
malina has joined #ocaml
zv has joined #ocaml
ziyourenxiang has joined #ocaml
Haudegen has joined #ocaml
pierpal has quit [Remote host closed the connection]
BitPuffin has joined #ocaml
malina has quit [Ping timeout: 264 seconds]
Abdallah has joined #ocaml
<Abdallah> I'm trying to install tuareg via opam but it fails, supposedly because of a syntax error...
<Abdallah> #=== ERROR while compiling tuareg.2.1.0 =======================================# # context 2.0.0 | linux/x86_64 | ocaml-base-compiler.4.07.0 | https://opam.ocaml.org/2.0#0a0111c0 # path ~/.opam/4.07.0/.opam-switch/build/tuareg.2.1.0 #
<Abdallah> (sorry for the poor formatting)
<Abdallah> # 25.2.2 (term:0.96) --batch -L . --no-init-file -f batch-byte-compile tuareg.el
<Abdallah> # /bin/sh: 1: Syntax error: word unexpected (expecting ")")
<Abdallah> # Makefile:50: recipe for target 'tuareg.elc' failed
<Abdallah> Thanks
<Abdallah> I tried with opam 1.2.2 and then with opam 2.0 but it fails with the same error.
<mahem1> Looks much better now. ;)
Fare has joined #ocaml
<mahem1> Hmmm, looks like some weird syntax error. I'm not too familiar with opam.
<mahem1> Maybe take a look at what's in the Makefile on line 50? (That's what was complaining.) (but what do I know?)
<Abdallah> Ok. I'm not quite sure where to find the makefile. Maybe on the Tuareg repo.
<mahem1> Yeah, good question. Just by taking a quite look, it looks like you might not have Emacs installed correctly? https://github.com/ocaml/tuareg/blob/master/Makefile
<mahem1> Are you on a Mac?
<Abdallah> Thanks mahem1 for suggesting looking at the Makefile, now I don't have a problem anymore. Apparently the error triggers when I run opam install from inside an emacs term. When I try from outside emacs, it works.
<Abdallah> I'm on ubuntu
<mahem1> Oh, nice. Glad that you got it working.
<mahem1> Yeah, from inside the Emacs term weird things can happen like env vars not being set and stuff or it might use sh and not bash.
<Abdallah> I didn't any error like that when installing other packages via opam. Would you suggest I open an issue on the tuareg github?
<Abdallah> *didn't get
<mahem1> Oh, that's kinda weird then. But really not too surprising. Every project has a different Makefile that needs different settings.
<mahem1> You can open an issue for sure, but I doubt it will be a high-level/important fix for the developers. Especially if you already have it working now.
Abdallah has quit [Ping timeout: 252 seconds]
dakk has quit [Quit: Leaving]
barcabuona has joined #ocaml
spew has joined #ocaml
FreeBirdLjj has joined #ocaml
Abdallah has joined #ocaml
<Abdallah> Ok, thank you!
zolk3ri has quit [Remote host closed the connection]
barcabuona has quit [Quit: WeeChat 2.2]
FreeBirdLjj has quit [Ping timeout: 244 seconds]
Abdallah has quit [Client Quit]
barcabuona has joined #ocaml
cryptocat1094 has joined #ocaml
<apache2> how do I figure out which values are used for the "os" variable in opam?
gareppa has joined #ocaml
<mahem1> apache2: I believe in the ~/.opam/config file.
gareppa has quit [Remote host closed the connection]
<apache2> mahem1: that file doesn't contain any mention of "os" :(
<apache2> ah I think I got it with `strings /usr/bin/opam`
<apache2> it didn't seem to be mentioned in the documentation :(
<apache2> hm no, that was a different list of operating systems. whatever, I'll just whitelist linux.
malina has joined #ocaml
Denommus has joined #ocaml
<mahem1> apache2: What does `opam config list` display?
<apache2> "linux"
<apache2> but I assume that other values are possible, like "windows"
<apache2> so that only gets me the current value, not an exhaustive list of possible values
<mahem1> Oh, you just want a list of all possible values?
<apache2> yes
<apache2> I'm trying to blacklist windows and osx
<mahem1> Well then RTFM. :P
<apache2> I'm using the latest released version
<apache2> ie 1.2.2
<apache2> is "macos" the one used for osx?
<apache2> or is that actually MacOS?
<mahem1> Yeah, the values should be be the same for 1.2.2
<mahem1> Yes, literally "macos" should be fine.
<apache2> but macos == OS X?
<mahem1> Yep.
<apache2> I've seen "windows" used a few times in opam available; constraints, but that value is not mentioned here (it's only got "win32") - is there a "win64" ?
<apache2> cool thanks @ macos!
<mahem1> Maybe "windows" was being used as the os-family type of config.
<apache2> ah
<mahem1> I would use "win32". If that doesn't work then file an issue.
<apache2> I'm going to go for available: [ os = "linux" | os-family = "debian"| os = "freebsd" | os = "openbsd" | os = "dragonfly" | os = "netbsd" }
<apache2> goal was to limit to the subset I can test fix bugs on :)
<mahem1> I'm not too familiar with how that all works, but seems legit to me!
haesbaert has quit [Read error: Connection reset by peer]
barcabuona has quit [Quit: WeeChat 2.2]
<apache2> thanks!
haesbaert has joined #ocaml
pierpal has joined #ocaml
malina has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
mbuf has joined #ocaml
zv has quit [Ping timeout: 256 seconds]
zv has joined #ocaml
zolk3ri has joined #ocaml
unyu has quit [Quit: g2g]
freyr69 has quit [Remote host closed the connection]
Haudegen has quit [Remote host closed the connection]
Fardale has joined #ocaml
JimmyRcom_ has joined #ocaml
zv has quit [Ping timeout: 276 seconds]
Fare has quit [Ping timeout: 240 seconds]
malina has joined #ocaml
zv has joined #ocaml
mbuf has quit [Quit: Leaving]
Fare has joined #ocaml
neiluj has joined #ocaml
nullifidian_ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
ben has quit [Disconnected by services]
ben__ has joined #ocaml
haesbaert has quit [Read error: Connection reset by peer]
ziyourenxiang has quit [Ping timeout: 240 seconds]
haesbaert has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
neiluj has quit [Quit: WeeChat 2.2]
malina has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
Fare has quit [Ping timeout: 240 seconds]
Fare has joined #ocaml
mcspud has quit [Ping timeout: 276 seconds]
kakadu has quit [Remote host closed the connection]
aubian has joined #ocaml
aubian has quit [Client Quit]
aubian has joined #ocaml
mcspud has joined #ocaml
cryptocat1094 has quit [Quit: WeeChat 2.2]
cryptocat1094 has joined #ocaml
cryptocat1094 has quit [Client Quit]
c4rc4s has quit [Ping timeout: 240 seconds]
c4rc4s has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Fare has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
yomimono has quit [Ping timeout: 256 seconds]
NingaLeaf has joined #ocaml
cryptocat1094 has joined #ocaml
mahem1 has quit [Quit: Page closed]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
jao has joined #ocaml
Soni has joined #ocaml
kakadu has joined #ocaml
freyr69 has joined #ocaml
cryptocat1094 has quit [Quit: WeeChat 2.2]
freyr69 has quit [Remote host closed the connection]
kevinqiu has joined #ocaml
kevinqiu has left #ocaml [#ocaml]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
pierpa has joined #ocaml
yomimono has joined #ocaml
Fare has joined #ocaml
Fare has quit [Ping timeout: 240 seconds]
NingaLeaf has quit [Quit: Textual IRC Client: www.textualapp.com]
dedgrant_ has joined #ocaml
_andre has quit [Quit: leaving]
dedgrant has quit [Ping timeout: 240 seconds]
Denommus has quit [Remote host closed the connection]
jao has quit [Ping timeout: 256 seconds]
nullifidian_ has joined #ocaml
nullifidian__ has quit [Ping timeout: 240 seconds]
steenuil has quit [Ping timeout: 240 seconds]
jimmyrcom has quit [Ping timeout: 256 seconds]
zolk3ri has quit [Quit: Lost terminal]
BitPuffin has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
zolk3ri has quit [Quit: Lost terminal]
olle has joined #ocaml
e-mail has joined #ocaml
<e-mail> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<e-mail> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<e-mail> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
e-mail has quit [Killed (Sigyn (Spam is off topic on freenode.))]
kakadu has quit [Remote host closed the connection]
tsuyoshi has joined #ocaml
<tsuyoshi> hi, I am trying to use dune/jbuilder following the quick start guide, but it always says "Error: S-expression of the form (_ _) expected"
<tsuyoshi> the entire file is just: (executable (name hello_world))
<tsuyoshi> ugh maybe I'll just look at the source and see what it's doing
<tsuyoshi> I see, I'm following the quick start guide from a version different from what is installed here
<tsuyoshi> and the syntax changed less than a month ago
<tsuyoshi> or maybe just the quick start guide changed
spew has quit [Quit: Connection closed for inactivity]
<Fardale> The syntax change when they switch to dune
yomimono has quit [Ping timeout: 240 seconds]
steenuil has joined #ocaml