<MarcWeber>
line 20 is this line: #load "unix.cma"
<adrien>
I never used it that way: you can simply run "ocaml unix.cma" instead of using #load
<MarcWeber>
I don't see the difference between both files. I don't know what I broke
<adrien>
hmmm, it's working for me
<adrien>
check you don't have weird/bad characters (like Alt+space outputs \160 which looks like a space but isn't)
<MarcWeber>
ocaml is fine. ocamlc only shows that error..
<MarcWeber>
So those #load lines may only be used in ocaml
<adrien>
#load only works for ocaml, not ocamlc or ocamlopt
<adrien>
must be quite easy to wrap everything into to some shell script and make it possible to use both with the same file
<MarcWeber>
adrien: Are you ging to create tag files or should I make the vim_addon_ocaml#MLIFiles() function hookable?
Associat0r has quit [Quit: Associat0r]
<adrien>
well, haven't thought about it yet, must cook dinner /o\
<MarcWeber>
You can write your own function (possibly using split(glob('/usr/**/*.mli'),"\n") ) to specifiy which .mli files to use for completion. So you don't have to use tags. However I find them useful anyway.
<MarcWeber>
I feel there must be more Vim users - Should I post to the mailinglist about the new completion feature written for Vim?
travisbrady has quit [Quit: travisbrady]
joewilliams is now known as joewilliams_away
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
jakedouglas has quit [Quit: Leaving.]
willb1 has quit [Read error: Connection reset by peer]
willb1 has joined #ocaml
sepp2k1 has joined #ocaml
itewsh has joined #ocaml
sepp2k has quit [Ping timeout: 240 seconds]
xmarteo has quit [Quit: Debian GNU/Hurd is Good.]
metasyntax` has quit [Quit: Be seeing you.]
philtor has joined #ocaml
joewilliams_away is now known as joewilliams
jakedouglas has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
jakedouglas has quit [Quit: Leaving.]
jakedouglas has joined #ocaml
ulfdoz has quit [Ping timeout: 245 seconds]
mjonsson_ has quit [Ping timeout: 265 seconds]
philtor has quit [Ping timeout: 276 seconds]
<MarcWeber>
How to apply a function to the values of a map only?
<fraggle_>
with iter
_unK has quit [Remote host closed the connection]
oriba has quit [Remote host closed the connection]
<MarcWeber>
ocamls error message are bad. I only get "syntax error" THenI have to guess where I forgot a ; or whatsoever..
<MarcWeber>
Is there a difference using let a = b in and using let a =b;; ?
<adrien>
MarcWeber: using camlp4 will give "better" error messages (I never do it on purpose but get it as a side-effect of using mikmatch and sexplib)
<adrien>
MarcWeber: 'let a = b' is global-scope while 'let a = b in <expr>' is local to <expr>
<adrien>
I mean, in the first case, you get a global variable and a local one in the second one
<MarcWeber>
Hey, you're back? How do you do now?
<MarcWeber>
:-/ ocmal does not accept a preprocessor, does it?
<MarcWeber>
only c and opt
<adrien>
better but haven't done much /o\
<adrien>
well, you can use camlp4 in ocaml
<MarcWeber>
ocaml --help | grep pp no -pp option
<MarcWeber>
I found the cause of my syntax error though.