<orbifx[m]>
dxtr: have you written anywhere about getting ocaml on pocketchip?
sam__ has joined #ocaml
sh0t has quit [Read error: No route to host]
sam__ has quit [Ping timeout: 248 seconds]
silver has quit [Quit: rakede]
jlam__ has joined #ocaml
copy_ has quit [Quit: Connection closed for inactivity]
sz0 has quit [Quit: Connection closed for inactivity]
jlam has quit [Ping timeout: 255 seconds]
lucybun has quit [Ping timeout: 246 seconds]
lucybun has joined #ocaml
pierpa has quit [Quit: Page closed]
<dxtr>
orbifx[m]: Uhm, no. there wasn't much to write about. Download and install opam, 'opam switch 4.04.2' and wait
spew has joined #ocaml
sh0t has joined #ocaml
mfp__ has quit [Ping timeout: 240 seconds]
spew has quit [Ping timeout: 260 seconds]
spew has joined #ocaml
malc_ has joined #ocaml
sam__ has joined #ocaml
spew has quit [Ping timeout: 268 seconds]
sam__ has quit [Ping timeout: 268 seconds]
samrat_ has joined #ocaml
maxton__ has joined #ocaml
maxton_ has quit [Ping timeout: 268 seconds]
sam__ has joined #ocaml
maxton__ has quit [Read error: Connection reset by peer]
sh0t has quit [Remote host closed the connection]
maxton__ has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
alexelcu has quit [Remote host closed the connection]
handlex has joined #ocaml
alexelcu has joined #ocaml
ome has quit [Ping timeout: 255 seconds]
dmj` has quit [Remote host closed the connection]
spew has joined #ocaml
samrat_ has quit [Ping timeout: 240 seconds]
lostman has quit [Quit: Connection closed for inactivity]
handlex has quit [Quit: handlex]
spew has quit [Quit: foobar]
malc_ has quit [Remote host closed the connection]
samrat_ has joined #ocaml
_whitelogger has joined #ocaml
ziyourenxiang has quit [Ping timeout: 240 seconds]
MercurialAlchemi has joined #ocaml
groovy2shoes has quit [Quit: Leaving]
Enamex has joined #ocaml
groovy2shoes has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
samrat_ has quit [Ping timeout: 260 seconds]
olibjerd has joined #ocaml
slash^ has joined #ocaml
sam__ has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ocaml
<orbifx[m]>
dxtr: download from distro repos or source?
kakadu has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
samrat_ has joined #ocaml
tane has joined #ocaml
argent_smith has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
dakk has joined #ocaml
LACampbell has quit [Ping timeout: 260 seconds]
Ragora is now known as Ragora|Away
LACampbell has joined #ocaml
samrat_ has quit [Ping timeout: 246 seconds]
FreeBird_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
shinnya has joined #ocaml
mfp__ has joined #ocaml
ziyourenxiang has joined #ocaml
tane has quit [Quit: Leaving]
Algebr has joined #ocaml
Soni has quit [Ping timeout: 240 seconds]
argent_smith has quit [Quit: Leaving.]
samrat_ has joined #ocaml
zpe has joined #ocaml
whisperedcigar has joined #ocaml
zpe_ has joined #ocaml
chat____4 has quit [Ping timeout: 240 seconds]
zpe has quit [Ping timeout: 240 seconds]
zpe_ has quit [Remote host closed the connection]
dakk has quit [Ping timeout: 240 seconds]
breitenj has joined #ocaml
jlam__ has quit [Ping timeout: 268 seconds]
samrat_ has quit [Ping timeout: 276 seconds]
jlam has joined #ocaml
breitenj has quit [Quit: ZNC - 1.6.0 - http://znc.in]
breitenj has joined #ocaml
Sakarah has joined #ocaml
Sakarah has quit [Remote host closed the connection]
olibjerd has quit [Quit: olibjerd]
MercurialAlchemi has joined #ocaml
LACampbell has quit [Ping timeout: 240 seconds]
breitenj- has joined #ocaml
breitenj- has quit [Remote host closed the connection]
breitenj- has joined #ocaml
jlam__ has joined #ocaml
breitenj has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jlam has quit [Ping timeout: 255 seconds]
breitenj has joined #ocaml
jlam has joined #ocaml
jlam__ has quit [Ping timeout: 240 seconds]
breitenj- has quit [Quit: ZNC - 1.6.0 - http://znc.in]
MatthiasGoergens has joined #ocaml
<MatthiasGoergens>
Hi! I am trying to use merlin together with neovim (but can also fall back to vim). I installed merlin with opam. How do I now use it? All my googling didn't turn up a simple description of the keybindings, and how I can even tests that it's loaded properly.
<MatthiasGoergens>
When I try :help Merlin<tab> I see a bunch of completions, so something must have worked in the installation. But eg just doing :Merlin<tab> doesn't show anything.
elfring has joined #ocaml
<_y>
MatthiasGoergens, have you added some lines to your .vimrc ?
<_y>
eg. i have those, which are completely generic:
<_y>
let g:opamshare=substitute(system('opam config var share'),'\n$','','')
<_y>
(the last one is for interaction with the (very worthy) plugin “Syntastic”)
<MatthiasGoergens>
I added those lines via opam.
<MatthiasGoergens>
Or at least lines that look very similar.
<MatthiasGoergens>
Installing syntastic now.
sh0t has joined #ocaml
<_y>
it is strange you have access to Merlin help but not to Merlin commands
breitenj has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<MatthiasGoergens>
Should the Merlin commands start with :Merlin?
<_y>
yes MatthiasGoergens
<_y>
hm, now i think, are you trying this from a buffer whose filetype is ‘ocaml’?
<_y>
Merlin is activated by file type
<MatthiasGoergens>
:set filetype ocaml?
<_y>
yes
<MatthiasGoergens>
The syntax highlighting definitely works already---and I just also tried explicitly setting the filetype.
breitenj has joined #ocaml
<MatthiasGoergens>
I am trying things out on qcheck's example/QCheck_test.ml. The qcheck repository comes with a .merlin in its root directory.
<elfring>
Where is the data format for compiled module interfaces (CMI files) documented?
<_y>
(i just noticed that i didn’t have myself the help tags for merlin.txt, probably because of an update of ocaml / merlin, but i guess it is not related to your problem)
<def`>
MatthiasGoergens: what is printed by ":set rtp?" and ":scriptnames"
<MatthiasGoergens>
opam switch looks like i am using the system one. (I installed the system one with homebrew on macosx.)
govg has joined #ocaml
<elfring>
Drup: Where are restrictions documented for the data exchange around compiled module interfaces?
<MatthiasGoergens>
Trying opam switch 4.05.0 now, since that's the latest in the list. system was 4.04.2
<def`>
MatthiasGoergens: you are missing "merlin/ftplugin/ocaml.vim" and "autoload/merlin.vim"
Sakarah has joined #ocaml
<def`>
do you have a line "filetype plugin on" in the vimrc?
<Drup>
elfring: Probably nowhere seriously, but you can read the already mentioned files.
<MatthiasGoergens>
def`: Thanks, I'll look for those files. Hmm, I thought I had filetype plugin on, but can't find it. Let me check what the reasons were.
<elfring>
Should compiled module interfaces (CMI files) which were generated by the tools “ocamlc” and “ocamlopt.opt” be equivalent for a specific software version?
def` has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #ocaml
<elfring>
Drup: To which source code documentation did you refer?
<Drup>
elfring: typing/types.mli and typing/cmi_format.mli in the compiler
silver has joined #ocaml
<Drup>
You should just look at this, it'll answer your questions.
<elfring>
Drup: Would you like to show an exact link into the OCaml development repository?
<MatthiasGoergens>
Thanks for your help so far! Also to def`, even if they won't receive this message.
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
MatthiasGoergens has quit [Ping timeout: 260 seconds]
whisperedcigar has quit [Ping timeout: 248 seconds]
<max3>
okay i install opam now how do i install ocaml using opam? instructions are nowhere to be found
jlam__ has quit [Ping timeout: 260 seconds]
Soni has quit [Ping timeout: 268 seconds]
jlam__ has joined #ocaml
<octachron>
max3, "opam switch 4.04.3" for the previous last version or "opam switch 4.05.0" for the last version published few days ago, with some wrinkle still being fixed
<steinhagelvoll>
thanks that seems to work. I tried ;, but not ;;
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
Enamex has quit [Ping timeout: 260 seconds]
zpe has quit [Ping timeout: 260 seconds]
ryanartecona has joined #ocaml
samrat_ has quit [Ping timeout: 248 seconds]
ilovezfs_ has joined #ocaml
ilovezfs_ has left #ocaml [#ocaml]
ryanartecona has quit [Quit: ryanartecona]
malc_ has joined #ocaml
sam__ has joined #ocaml
sh0t has quit [Ping timeout: 276 seconds]
dreadedfrog has quit [Ping timeout: 240 seconds]
def` has joined #ocaml
jlam has joined #ocaml
jlam__ has quit [Ping timeout: 248 seconds]
Mercuria1Alchemi has joined #ocaml
Algebr has quit [Ping timeout: 255 seconds]
tane has quit [Quit: Leaving]
andreas_ has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
malc_ has quit [Remote host closed the connection]
al-damiri has joined #ocaml
KV has joined #ocaml
zpe has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 246 seconds]
<andreas_>
I'm having some difficulties specifying a non-.ml file dependency with jbuilder. I need a file, schema.json, to compile foo.ml. As far as I can tell, the executable- and library-stanzas only allow dependencies to be specified with (modules x y z), which only allows .ml files. So how can I solve this?
<rgrinberg>
you have a (rule (...)) stanza to generate your foo.ml right?
<andreas_>
foo.ml is just a regular file.
<andreas_>
ppx reads schema.json during compilation of foo.ml.
<rgrinberg>
Oh, I see. And you pass this filename (schema.json) as an argument to your ppx, right?
<andreas_>
It's hardcoded right now (blush), but it will be, yes :)
<rgrinberg>
there's no straight forward way to express this dependency now off the top of my head. You should make a gh issue for this problem
<andreas_>
Ok, thanks -- I'll create an issue. I'll try with a dummy module and a custom rule in the meantime..
Algebr has joined #ocaml
<rgrinberg>
(modules (...)) is probably not the answer though. You really want to express that this is a preprocessing dependency here
<andreas_>
That makes sense.
snowcrshd has joined #ocaml
<rgrinberg>
another stupid way would be to define a custom preprocessor that just wraps your ppx and add a custom rule that will turn that schema.json into an ocaml module with a string (kind of like ocaml crunch).
<rgrinberg>
Sounds a bit like a rube goldberg machine, but it should work
zpe_ has joined #ocaml
rostero has joined #ocaml
<rostero>
new to ocaml. dependencies go in an .opam file, right? i'm trying to search github for everyone that uses a specific ocaml library
<Drup>
rostero: `opam list --depends FOO"
<rostero>
nice
<rostero>
thanks
zpe has quit [Ping timeout: 258 seconds]
<rgrinberg>
yes. but also, .opam isn't entirely correct either. some people have simply opam files too
<rostero>
just trying to see if anyone was using this library called Clarity
<andreas_>
rgrinberg: ah, that might work. I'll read up on the preprocessing options in jbuilder..
Algebr has quit [Read error: Connection reset by peer]
<Drup>
rostero: It's very new and not very idiomatic, so I doubt it'll see a large adoption
<rostero>
Drup: that's what i figured, but just wanted to confirm
<Drup>
(also, it has some discutable design choices, and tries to hard to emulate haskell stuff which doesn't really work all that well without type classes)
<Drup>
(it might all change when we get modular implicits, though)
<rostero>
is there a roadmap for module implicits?
<Drup>
Not really
<def`>
(-_-;)
slash^ has quit [Read error: Connection reset by peer]
<soupault>
hello everyone! I'm starting to get acquainted with `jbuilder` and looking for some assistance. I have a project where the code is structured as follows: ./bin/ - several entry points, ./src/ - some modules which perform all the processing. the question is: do I need to write separate `jbuild`s for `bin` and `src`, and trigger the builds separately, or there is a way to build everything from a root location?
Algebr has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
johnelse_ has joined #ocaml
vydd has joined #ocaml
<vydd>
hi
al-damiri has quit [Remote host closed the connection]
rostero has quit [Remote host closed the connection]
dreadedfrog has joined #ocaml
FreeBirdLjj has joined #ocaml
ome has joined #ocaml
dmj` has joined #ocaml
dreadedfrog has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
jlam__ has joined #ocaml
jlam has quit [Ping timeout: 276 seconds]
soupault has quit [Remote host closed the connection]
sam___ has joined #ocaml
al-damiri has joined #ocaml
pierpa has joined #ocaml
sam___ has quit [Ping timeout: 260 seconds]
rostero has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]