gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
<MarcWeber> If anyone has had trouble tagging help.ml using ctags, Here is a patch: http://dpaste.com/228261/
seafood has quit [Quit: seafood]
seafood has joined #ocaml
seafood_ has joined #ocaml
seafood has quit [Read error: Connection reset by peer]
seafood_ is now known as seafood
britneypire has joined #ocaml
britneypire has quit [Client Quit]
jakedouglas has quit [Ping timeout: 265 seconds]
|marius|_ has joined #ocaml
|marius| has quit [Ping timeout: 252 seconds]
travisbrady has quit [Quit: travisbrady]
|marius|_ has quit [Ping timeout: 252 seconds]
jakedouglas has joined #ocaml
pcc has joined #ocaml
pcc has left #ocaml []
joewilliams is now known as joewilliams_away
Associat0r has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
iNode has quit [Ping timeout: 276 seconds]
iNode has joined #ocaml
ulfdoz has joined #ocaml
travisbrady has joined #ocaml
xcthulhu has joined #ocaml
valross has quit [Remote host closed the connection]
valross has joined #ocaml
ygrek has joined #ocaml
travisbrady has quit [Quit: travisbrady]
joewilliams_away is now known as joewilliams
ulfdoz has quit [Ping timeout: 248 seconds]
joewilliams is now known as joewilliams_away
Amorphous has quit [Ping timeout: 258 seconds]
chee has joined #ocaml
Amorphous has joined #ocaml
ikaros has joined #ocaml
ztfw` has joined #ocaml
munga has joined #ocaml
ztfw has quit [Ping timeout: 260 seconds]
chee has quit [Ping timeout: 276 seconds]
itegebo has joined #ocaml
valross has quit [Quit: Ex-Chat]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
seafood has quit [Quit: seafood]
munga has quit [Ping timeout: 265 seconds]
itegebo has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 245 seconds]
xmarteo has joined #ocaml
_unK has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
jtza8 has joined #ocaml
hto has quit [Read error: Connection reset by peer]
jtza8 has quit [Ping timeout: 252 seconds]
hto has joined #ocaml
pikachuyann has joined #ocaml
jtza8 has joined #ocaml
jtza8 has quit [Client Quit]
Edward has joined #ocaml
ygrek has joined #ocaml
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
oriba has joined #ocaml
oriba_ has joined #ocaml
oriba has quit [Ping timeout: 276 seconds]
ygrek has quit [Ping timeout: 245 seconds]
boscop has joined #ocaml
ygrek has joined #ocaml
fabjan has joined #ocaml
oriba_ has quit [Quit: Verlassend]
oriba has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
ftrvxmtrx has quit [Ping timeout: 276 seconds]
ftrvxmtrx has joined #ocaml
iago has joined #ocaml
ygrek has joined #ocaml
alpounet has quit [Excess Flood]
alpounet has joined #ocaml
joewilliams_away is now known as joewilliams
willb has joined #ocaml
jakedouglas has joined #ocaml
joewilliams is now known as joewilliams_away
ygrek has quit [Ping timeout: 245 seconds]
joewilliams_away is now known as joewilliams
Associat0r has quit [Quit: Associat0r]
Guest44877 has left #ocaml []
iNode has quit [Ping timeout: 246 seconds]
brendan has joined #ocaml
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
<MarcWeber> Added camle case matching to ocaml completion for Vim.
f[x] has quit [Ping timeout: 240 seconds]
<MarcWeber> adrien: ping: Did you get it working?
travisbrady has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
Associat0r has joined #ocaml
_unK has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
ulfdoz has joined #ocaml
Edward has quit []
ftrvxmtrx has joined #ocaml
iNode has joined #ocaml
jakedouglas has joined #ocaml
willb has quit [Read error: Connection reset by peer]
willb has joined #ocaml
ygrek has joined #ocaml
sepp2k has joined #ocaml
pikachuyann has quit [Quit: Quitte]
willb1 has joined #ocaml
willb has quit [Ping timeout: 258 seconds]
<MarcWeber> What does this type mean exactly: (int * int) list
<MarcWeber> Is it a list of int tuples? eg [ (1,3) ] ?
<MarcWeber> got it
<MarcWeber> #load "unix.cma"
<MarcWeber> Is this a preprocessor directive?
<adrien> no, it's toplevel-specific
<adrien> basically, when you want to set something in the toplevel, not write ocaml
<adrien> and I haven't had time to try the vim completion, been catching up news articles (almost done hopefully)
<MarcWeber> And what am I doing wrong if I get syntax error at that line?
<adrien> ;; ?
<MarcWeber> THe bak is the original file. I try to tidy up and enhnance the build script of HaXe.
<MarcWeber> install.ml|20| File "install.ml", line 20, characters 0-1: Error: Syntax error
<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.
joewilliams is now known as joewilliams_away
itewsh has quit [Ping timeout: 245 seconds]
<MarcWeber> How to check wether a directory exists?
<adrien> Sys.file_exists + Sys.is_directory
avsm has joined #ocaml
<fraggle_> et you have a nice Time of Use, Time of Check security flaw if you plan to fopen it after :)
<MarcWeber> fraggle_: No, its just a simple build script I'd like to rewrite
willb1 has quit [Read error: Connection reset by peer]
willb1 has joined #ocaml
joewilliams_away is now known as joewilliams
ikaros has quit [Quit: Leave the magic to Houdini]
Pooet has joined #ocaml
xcthulhu has quit [Read error: Connection reset by peer]
avsm has quit [Quit: Leaving.]
Edward has joined #ocaml
|marius| has quit [Ping timeout: 276 seconds]
|marius| has joined #ocaml
joewilliams is now known as joewilliams_away
iago has quit [Quit: Leaving]
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
willb2 has joined #ocaml
Pooet has left #ocaml []
Pooet has joined #ocaml
willb1 has quit [Ping timeout: 276 seconds]
|marius| has quit [Remote host closed the connection]