Xenasis has quit [Remote host closed the connection]
Xenasis has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
boogie has quit [Remote host closed the connection]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
Neros has quit [Ping timeout: 260 seconds]
nikki93 has quit [Remote host closed the connection]
michael_lee has joined #ocaml
kermit`` has quit [Ping timeout: 246 seconds]
tov has joined #ocaml
kermit`` has joined #ocaml
malvarez has quit [Read error: Connection reset by peer]
csakatoku has joined #ocaml
Xenasis has quit [Remote host closed the connection]
WeLoveCP is now known as manizzle
kermit`` has quit [Ping timeout: 260 seconds]
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
Arzaga has joined #ocaml
Xenasis has joined #ocaml
jao has quit [Ping timeout: 250 seconds]
kermit`` has joined #ocaml
ollehar has joined #ocaml
manizzle has quit [Ping timeout: 246 seconds]
ollehar has quit [Ping timeout: 245 seconds]
Xenasis has quit [Remote host closed the connection]
tobiasBora has quit [Quit: Konversation terminated!]
csakatoku has quit [Remote host closed the connection]
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
csakatoku has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
Arzaga has quit [Quit: Computer has gone to sleep.]
kermit`` has quit [Read error: Connection reset by peer]
kermit`` has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
osa1 has joined #ocaml
mcclurmc has joined #ocaml
manizzle has joined #ocaml
osa1 has quit [Ping timeout: 252 seconds]
watermind has quit [Read error: Connection reset by peer]
watermind has joined #ocaml
kermit`` has quit [Read error: Connection reset by peer]
watermind has quit [Quit: Konversation terminated!]
nikki93 has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
michael_lee has quit [Ping timeout: 246 seconds]
nikki93 has quit [Ping timeout: 246 seconds]
csakatoku has quit [Ping timeout: 246 seconds]
michael_lee has joined #ocaml
kermit`` has joined #ocaml
kermit`` has quit [Read error: Connection reset by peer]
strobegen has joined #ocaml
osa1 has joined #ocaml
csakatoku has joined #ocaml
nikki93 has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
shinnya has joined #ocaml
kermit`` has joined #ocaml
csakatoku has quit [Remote host closed the connection]
kermit`` has quit [Ping timeout: 250 seconds]
Zeev has joined #ocaml
kermit`` has joined #ocaml
Zeev has quit [Read error: Connection reset by peer]
nikki93 has quit [Remote host closed the connection]
kermit`` has quit [Read error: Connection reset by peer]
Zeev has joined #ocaml
Zeev has left #ocaml []
kermit`` has joined #ocaml
nikki93 has joined #ocaml
kermit`` has quit [Ping timeout: 246 seconds]
kermit`` has joined #ocaml
kermit`` has quit [Ping timeout: 250 seconds]
Kakadu has joined #ocaml
rossberg has quit [Ping timeout: 240 seconds]
Kakadu_ has joined #ocaml
kyrylo has joined #ocaml
fds has quit [Ping timeout: 252 seconds]
fds has joined #ocaml
_5kg has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 260 seconds]
ulfdoz has joined #ocaml
w0rm_x has joined #ocaml
mort___ has quit [Quit: Leaving.]
w0rm_x has quit [Ping timeout: 250 seconds]
kyrylo has quit [Quit: Don't give up! Tell ya neighbour, tell ya friend...]
w0rm_x has joined #ocaml
w0rm_x has quit [Ping timeout: 240 seconds]
mart has quit [Ping timeout: 246 seconds]
<flux>
has someone used ocurl's Curl.Multi module with success?
<flux>
I don't seem to be able to make it call my socket_handler
rand000 has joined #ocaml
Simn has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
osa1 has joined #ocaml
Arzaga has joined #ocaml
zpe has joined #ocaml
rand000 has quit [Ping timeout: 246 seconds]
w0rm_x has joined #ocaml
w0rm_x has quit [Client Quit]
_5kg has joined #ocaml
NoNNaN has joined #ocaml
Arzaga has quit [Quit: Computer has gone to sleep.]
Arzaga has joined #ocaml
Arzaga has quit [Client Quit]
<gasche>
hm
<gasche>
I just found out that I myself defined a (||) operator years ago
<def-lkb>
?
<gasche>
we discussed recently the fact that || is a keyword and would thus be best avoided
<def-lkb>
I see
pminten has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
talzeus has joined #ocaml
talzeus_ has quit [Ping timeout: 265 seconds]
ontologiae_ has joined #ocaml
BitPuffin has joined #ocaml
<sgnb>
one sad fact is &... and |... do not have the same parsing behaviour as && and ||
<sgnb>
I wonder why
rand000 has joined #ocaml
Neros has joined #ocaml
avsm has quit [Quit: Leaving.]
csakatoku has joined #ocaml
snyp has joined #ocaml
mort___ has joined #ocaml
<flux>
ah, got it working. I suppose I should file a patch for documenting curl better in curl.mli :)
<flux>
I also had to implement timeout mechanism to make things start
<def-lkb>
flux: Do you still have the problem with merlin you complained about yesterday?
<flux>
yes, it's still in red the one call to GMain.Main.quit :)
<flux>
I think it might fix itself if I reopen the buffer, but at least revert-buffer or restarting merlin didn't fix it
<def-lkb>
You may want to try the "clean-init" branch. There was a bug causing merlin to have a inconsistent view of the build path, and restarting in emacs caused most of the configuration to be dropped
<def-lkb>
We hope to release this branch soon, so you can just wait 1 or 2 weeks
<flux>
I think I'll do that, it's not very harmful
zpe has quit [Remote host closed the connection]
tobiasBora has joined #ocaml
csakatoku has quit [Ping timeout: 246 seconds]
<ddosia>
utop consumes 684 mb. wut?
ulfdoz has joined #ocaml
<def-lkb>
ddosia: of which 500 mb are for Core
<ddosia>
all this records stuff in ocaml looks a bit like a magic for me
zpe has joined #ocaml
kermit`` has joined #ocaml
rand000 has quit [Read error: Connection reset by peer]
rand000_ has joined #ocaml
snyp has quit [Ping timeout: 246 seconds]
snyp has joined #ocaml
pminten has quit [Remote host closed the connection]
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
ulfdoz_ is now known as ulfdoz
ggole has joined #ocaml
nikki93 has quit [Remote host closed the connection]
kermit`` has quit [Ping timeout: 246 seconds]
watermind has joined #ocaml
watermind has quit [Ping timeout: 240 seconds]
dsheets_ has quit [Ping timeout: 245 seconds]
Rc43 has joined #ocaml
<Rc43>
Hello.
<Rc43>
Is there "go to definition" plugins for ocaml and vim?
nikki93 has quit [Read error: Operation timed out]
rand000_ has quit [Quit: leaving]
<flux>
hmm, apparently a key point with using merlin with ocamlbuild is having B _build in .merlin?
<rks`>
cfe
<flux>
it looks like that made different project modules visible to each other
<rks`>
yep*
<flux>
I suppose it could be a default, because ocamlbuild comes with ocaml..
<flux>
or the very least mentioned in the README.md :)
<flux>
another suggestion: if a completion is a keyword, tab-completion should invoke indentation instead of completion :). or suggestions how to configure this happen?
<Drup>
flux: that's auto-complete related, not merlin
<flux>
yes
<flux>
but they interact at some level
<Drup>
the only thing merlin is doing, is populate the dictionnary for auto-complete
zpe has quit [Remote host closed the connection]
<Drup>
auto-complete add some other stuff, just remove them
<Drup>
(keywords are not add by merlin)
<Drup>
added*
zpe has joined #ocaml
avsm has joined #ocaml
<flux>
there was this one feature that didn't with without auto-complete-mode
<Drup>
don't remove auto-complete
<Drup>
just modify the settings, there is an extensive documentation
ollehar has joined #ocaml
dant3 has joined #ocaml
shinnya has joined #ocaml
<Rc43>
Hmm, can't figure out keybindings for merlin in vim.
<def-lkb>
Have you heard of localleader ?
watermind has quit [Quit: Konversation terminated!]
watermind has joined #ocaml
watermind has quit [Client Quit]
watermind has joined #ocaml
eikke has quit [Ping timeout: 260 seconds]
<Rc43>
def-lkb, no
<Rc43>
def-lkb, but I fount merlin.txt list of commands ":Locate" in it
<Rc43>
btw, how to generate tags or something for my project? I tried write directories via "project.merlin" but ":Locate" between files doesn't work now
<Rc43>
wow, first time I have syntax check in vim ^^
avsm has quit [Quit: Leaving.]
<Rc43>
and auto-complete
<def-lkb>
:)
ollehar has quit [Ping timeout: 245 seconds]
talzeus has quit [Read error: Connection reset by peer]
Xenasis has joined #ocaml
<Rc43>
def-lkb, but :Locate still doesn't work for me
<Rc43>
def-lkb, there is .cmt file and directory with it is set like "B ....path..." in project.merlin.
<def-lkb>
project.merlin is ".merlin", right ?
<Rc43>
oh
<Rc43>
I am silly
snyp has quit [Quit: Lost terminal]
<Rc43>
Now it is ".merlin", but no effect.
<def-lkb>
restart vim
<Rc43>
def0lkb, restarted
<def-lkb>
ok, and you still can't get :Locate to work? hmmm
<def-lkb>
rks`: !
<rks`>
he never said he couldn't.
<rks`>
:)
zpe has quit [Remote host closed the connection]
<def-lkb>
:D
<Rc43>
It works but only for local functions.
<Rc43>
For neighbour file it doesn't.
<rks`>
Rc43: you can get a trace of what merlin is looking for when you call locate by adding « FLG -debug locate,<path to some log file> » in your .merlin if you want
<Rc43>
rks`, doesn't create log file; maybe merlin just doesn't see .merlin file?
<rks`>
well, I *could* tell you how to check that
<rks`>
but : def-lkb !
<Rc43>
Oh, now it is creaated
<Rc43>
I created addition .merlin file in subfolder and forgot to delete it :)
<rks`>
Ah :)
<def-lkb>
Rc43: you can check which .merlin(s) are loaded with :EchoDotMerlin
<Rc43>
Chunk_parse | Visit \n Chunk_parse | Visit \n locate | looking for the source of 'optimize_struct' \n locate | ... not in environment
<def-lkb>
Rc43: you have to add source directories to merlin with "S " command
<Rc43>
def-lkb, done
<rks`>
if the thing is not in the environment, your buildpath is set incorrectly.
<Rc43>
S plugins/extraction \n B plugins/extraction
csakatoku has joined #ocaml
<Rc43>
By the way, the file with definition of the function is in the same subfolder so it should take it anyway as I understand (due this subfolder is added to load path of merlin)
<Rc43>
How to look merlin's loadpath?
<def-lkb>
:BuildPath and :SourcePath should tell you
csakatoku has quit [Remote host closed the connection]
avsm has joined #ocaml
Kakadu has quit []
talzeus has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
<Rc43>
They are ok ()
<Rc43>
("." added and other manually added in .merlin subfolders)
<Rc43>
Hmm, strange, now local definitions (in the same file) can't be found too; but I remmeber that I used it for it successfully
<def-lkb>
Mm… Do you have syntastic enabled ?
<Rc43>
def-lkb, yes
<Rc43>
def-lkb, perhaps it is the problem
<Rc43>
def-lkb, :Locate before I enable it
<def-lkb>
no no, that's not what I am thiking
<def-lkb>
Can you check if merlin report any error in your buffer? (By default, check happens when saving files)
<def-lkb>
(Also, make sure you are using merlin for checks, with let g:syntastic_ocaml_checkers=['merlin'])
<Rc43>
def-klb, ye, really it reports =/
<Rc43>
def-klb, I didn't save that file berfore so I didn't see
<def-lkb>
Ok, so if the part you are trying to locate is incorrect, merlin can't locate
<Rc43>
(...=['merlin'] enabled)
<Rc43>
Strange, code is correct (just built).
<Rc43>
Orange highlighings are warnings, right?
<Rc43>
With which program merlin checks syntax?
<Rc43>
Maybe it is inconsistent with my ocaml version?
nikki93 has joined #ocaml
<def-lkb>
With merlin :P
<Rc43>
Is there log for syntax messages or something?
<def-lkb>
What are the error messages?
<Rc43>
I mean it reports with ">>" symbols on the edge of screen, can I read corresponden messages or not?
zpe has joined #ocaml
<rks`>
yes Rc43, just move your cursor on the erroneous line
<def-lkb>
Rc43: if you move the cursor on the erroneous line, it will be displayed in the status bar
<def-lkb>
Rc43: otherwise, :Errors
<Rc43>
oh, so simple :)
kyrylo has joined #ocaml
<Rc43>
So, it tells "unbound value optimize_struct".
nikki93 has quit [Ping timeout: 246 seconds]
<Rc43>
Maybe problem in the project; just yesterday I couldn't use debugger with it with the same errors.
<Rc43>
But it builds ok.
<def-lkb>
something is wrong with your setup
shinnya has quit [*.net *.split]
fds has quit [*.net *.split]
Fnar has quit [*.net *.split]
jpdeplaix has quit [*.net *.split]
tristero has quit [*.net *.split]
<Rc43>
Seems that it can't find some functions which are out side of this file, so it can't compile them and can't compile function which use these uncompilable functions =/
<Rc43>
Because if I add trivial function the it is ok.
<Rc43>
And :Locate for it works.
<Rc43>
How merlin works if syntastic isn't installed? Perhaps it is possible to disable syntax check for definition jumping?
<def-lkb>
Those functions come frome some module. So it should complain "blabla Module not found" ?
<Rc43>
def-lkb, it complains just "unbound value"
<rks`>
Rc43: no, syntastic just "reports" the errors
<rks`>
but merlin does the syntax checking.
<rks`>
(and typechecking, and everything)
<def-lkb>
Rc43: so, in which module are those functions defined ?
<Rc43>
rks`, local jumping worked before I installed syntastic
<Rc43>
def-lkb, e.g. in file "libnames.ml" which is in subfolder "library", cmt file is generated and subfolder is in load path.
<def-lkb>
syntax check aside, do you have completion on Libnames values from the other module ?
<Rc43>
Hmmm, I tried to autocomplete from Libnames, I entered qualid_ and it can be completed to some functions with same prefix, but not the necessary function (qualid_of_reference)
<Rc43>
Oh, seems that it just depends on function order
<Rc43>
Can be completed after definition of qualid_of_reference.
<Rc43>
From neighbout files it can't be completed.
<Rc43>
I also tested merlin on helloworld source with module, everything is ok.
shinnya has joined #ocaml
fds has joined #ocaml
Fnar has joined #ocaml
tristero has joined #ocaml
<Rc43>
Ha!
<Rc43>
I found that message
<Rc43>
"unit imports from Libnames, which uses recursive types. The compilation flag -rectypes is required. "
<Rc43>
Hmm, or this is not related...
<def-lkb>
This is related
<def-lkb>
add FLG -rectypes to .merlin
<Rc43>
Because it's appeared only in lack of dependent modules (I tried to copy Libnames in separated test program)
<def-lkb>
(this is quite a unusual case :p)
<Rc43>
yeeee, now part with qualif_of_... func works ^^
<Rc43>
But seems there are some other extensions, not all errors are dissappeared
diginux_ has joined #ocaml
<diginux_>
is something wrong with opam?
Xenasis has quit [Read error: Connection reset by peer]
<Rc43>
Strange, the other module "Modutil" seems to be ok (no syntax errors reported), but function from it still is "unbound value".
<tristan_1>
then I just do: sh ./opam_installer.sh ~/.opam
<diginux_>
which ocaml do use though?
ollehar has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
<tristan_1>
opam installs compilers, I use 4.01.0
<diginux_>
ahhh
<diginux_>
ok, i will look into that
Rc43 has quit [Quit: Page closed]
tovarish has joined #ocaml
<diginux_>
tristan_1: this is nuts
<diginux_>
still the same error!
<tristan_1>
same url?
tane has joined #ocaml
michael_lee has quit [Quit: Ex-Chat]
mcclurmc has joined #ocaml
q66_ has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
q66 has quit [Disconnected by services]
q66_ is now known as q66
Anarchos has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 240 seconds]
dant3 has quit [Remote host closed the connection]
Neros_ has joined #ocaml
Neros has quit [Ping timeout: 260 seconds]
mcclurmc has joined #ocaml
malvarez has joined #ocaml
Anarchos has quit [Ping timeout: 246 seconds]
<diginux_>
tristan_1: I did the install from source just like you said. still same error..
kyrylo has quit [Quit: Don't give up! Tell ya neighbour, tell ya friend...]
<diginux_>
I have no idea..
<diginux_>
I may just get eric to test it
mcclurmc has quit [Remote host closed the connection]
<tristan_1>
I said I used the binary installer, not source
tov has quit [Quit: leaving]
<diginux_>
tristan_1: yeah, I used that script for opam, it brought download ocaml and builit from source
<diginux_>
but I still get the same error installing ocamlfind
<tristan_1>
and same url?
<diginux_>
yes
ollehar has joined #ocaml
mort___ has quit [Quit: Leaving.]
nikki93 has joined #ocaml
ggole has quit []
nikki93 has quit [Ping timeout: 260 seconds]
ulfdoz has quit [Ping timeout: 260 seconds]
dsheets_ has joined #ocaml
dsheets_ has quit [Remote host closed the connection]
dsheets_ has joined #ocaml
tane has quit [Quit: Verlassend]
tov has joined #ocaml
mort___ has joined #ocaml
ulfdoz has joined #ocaml
<swistak35>
Hi, I want to ask about modules and functors. I have following signatures for vertex, edge and graph: http://paste.ofcode.org/7CZBNYTgfjn2GcD3ngrhWQ How should I start defining functions for some concrete implementation of GRAPH (MyGraph) to be independent of implementations of vertex and edge?
<Drup>
swistak35: you put them in a functor taking a module following your GRAPH signature
<Drup>
swistak35: if you are interested in some functor gloriousness and graphs, you can look at the ocamlgraph, which is a pure beauty in this aspect.
<Drup>
yes, but you need to put "module E = E" and "module V = V" in the functor
AltGr has left #ocaml []
nikki93 has quit [Ping timeout: 252 seconds]
Arsenik has joined #ocaml
Neros_ has quit [Ping timeout: 246 seconds]
<swistak35>
Drup: thank you, it works : )
<flux>
does someone know how to set window properties in lablgtk2? I'm having hard time finding the proper casting functions
<flux>
the intent is probably conveyed by this: let main_window = GWindow.window ~border_width:10 () in Gobject.set GtkBaseProps.Window.P.allow_shrink (* casts here: *) main_window true
nikki93 has joined #ocaml
<flux>
(main_windows is GWindow.window = but that operation requires [> `window ] Gobject.obj)
nikki93 has quit [Ping timeout: 246 seconds]
Arsenik has quit [Remote host closed the connection]
Anarchos has joined #ocaml
<flux>
gah, #as_window
<flux>
ocoogle would be really nice with lablgtk, if it existed and supported classes as well :)
<flux>
though "I have instance of x, how do I get y out of it" would perhaps be closer to code searching than type matching..
cesar_ has joined #ocaml
cesar_ is now known as Guest1747
Guest1747 has quit [Ping timeout: 246 seconds]
nikki93 has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
rand000 has joined #ocaml
w0rm_x has joined #ocaml
w0rm_x has quit [Max SendQ exceeded]
w0rm_x has joined #ocaml
w0rm_x has quit [Max SendQ exceeded]
w0rm_x has joined #ocaml
w0rm_x has left #ocaml []
amiller has quit [Ping timeout: 246 seconds]
jpdeplaix has quit [Ping timeout: 246 seconds]
rks` has quit [Ping timeout: 246 seconds]
rks` has joined #ocaml
amiller_ has joined #ocaml
jpdeplaix has joined #ocaml
adrinou_ has joined #ocaml
cthuluh has quit [Ping timeout: 250 seconds]
julm has quit [Ping timeout: 248 seconds]
Anarchos has quit [Ping timeout: 240 seconds]
adrinou has quit [Ping timeout: 245 seconds]
julm has joined #ocaml
cthuluh has joined #ocaml
ollehar has joined #ocaml
darkf has joined #ocaml
darkf has quit [Changing host]
darkf has joined #ocaml
<diginux_>
tristan_1: woo, finally got things to work osx at least with the opam binary method
malvarez has quit [Ping timeout: 248 seconds]
Anarchos has joined #ocaml
tane has joined #ocaml
contempt has quit [Ping timeout: 250 seconds]
sheijk has joined #ocaml
contempt has joined #ocaml
<Drup>
gasche: are you there ? Could have I at least a comment on my one month old PR for macaque ?
cesar_ has joined #ocaml
cesar_ is now known as Guest45986
strobegen has quit [Quit: Leaving.]
<sheijk>
anyone here using ocp-index installed through opam? where are the ocp-wrapper, ocp-type, etc. tools go?
<Drup>
.opam/the-compiler-installed/bin ?
<Drup>
if you did " eval `opam config env`", it should be in your PATH
<sheijk>
Drup: i see ocp-index there, but nothing else
<sheijk>
i'll need it to run with a custom built ocamlc (32-bit 3.12 on mac), so i'll specifically need ocp-wrapper (if this will work at all)
<sheijk>
but ocp-index on opam seems to be pretty outdated. it's 0.3 while github has a 1.0 release
<Drup>
not sure where this "ocp-wrapper" should come from