<mehdid>
kaustuv: search "Indenting expressions inside clause" in the link above
<adrien>
makes sense
<adrien>
indenting from 'Foo' rather than from '|' was probably a work-around to get an indentation like in the guidelines
<adrien>
but it maybe broke for indentation != 2 spaces
<mehdid>
right. so here they don't even follow the guidelines...
<kaustuv>
The guideline is also wrong IMO (it should be 4 spaces or 2 indentations from the |, not 1.5). But anyway, I've downgraded to 1.46 because there doesn't seem to be anything in the new tuareg that I need
<kaustuv>
However, even the old version is broken. Example: http://ocaml.pastebin.com/2E9B6zAQ -- pressing tab on the lexer cases causes them to be indented wrt the previous type declaration for tok.
<kaustuv>
The guidelines are inconsistent. See the subsection "match construct in a match construct"
<mehdid>
I don't find that inconsistent...
<kaustuv>
The inner begin ... end is not indented wrt the constructor pattern
ccasin has joined #ocaml
<adrien>
gildor: admitedly pretty late but congratulations ;-)
<kaustuv>
Oh, I'm an idiot. ! binds stronger than .
avsm has joined #ocaml
kaustuv has left #ocaml []
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
<adrien>
gildor: btw, I mentionned a problem in oasis for .c files not copying .h files being included: I made a patch to ocamlbuild: http://caml.inria.fr/mantis/view.php?id=5107 (I don't think something that basic and simple should be done in a plugin, plus the first iteration only change 5 or 6 lines)
joewilliams is now known as joewilliams_away
Anarchos has joined #ocaml
joewilliams_away is now known as joewilliams
|marius| has joined #ocaml
<gildor>
adrien: your solution is of course better than to have it in oasis
ttamttam has quit [Remote host closed the connection]
<adrien>
I don't know if/when it might get merged however, it shouldn't be a problem for 3.12 but I doubt it would, plus requiring 3.12 the day it gets out wouldn't be very nice so having a work-around in oasis probably makes sense for the time being (I haven't looked at it however)
jakedouglas has joined #ocaml
|marius| has quit [Remote host closed the connection]
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
Yoric has quit [Quit: Yoric]
ulfdoz has joined #ocaml
th5 has quit [Quit: th5]
<gildor>
adrien: the workaround I can provide, won't be as elegant as yours, I plan to do something quite brutal, as explained on the ocamlbuild wiki
<adrien>
gildor: if it's temporary (or for older versions) and works as expected, I think it's perfectly ok, and if that patch/feature doesn't get in 3.12, it should get into 3.12.1 which shouldn't be too far away hopefully
<gildor>
adrien: well, it remains a workaround, I can probably implement small one into OASIS, but I don't want to just rewrite ocamlbuild entirely ;-)
<adrien>
of course ;-)
<adrien>
gildor: can you tell me if/when you implement it so I can try it? (I'll be away for a few weeks soon however)
<gildor>
adrien: you can watch the bug in the BTS ?
<gildor>
adrien: i'll close it when implemented
<adrien>
oh, yeah, of course ;-)
<Anarchos>
fun i linked ocaml toplevel with my os api, so i am able to open a window from the toplevel :)
psnively has joined #ocaml
psnively has left #ocaml []
|marius| has joined #ocaml
|marius| has quit [Remote host closed the connection]
|marius| has joined #ocaml
chee has quit [Quit: <3 =^.^= Ɛ>]
chee has joined #ocaml
joewilliams is now known as joewilliams_away
fraggle_ has quit [Quit: -ENOBRAIN]
Yoric has joined #ocaml
Yoric has quit [Quit: Yoric]
ftrvxmtrx has quit [Quit: Leaving]
avsm has quit [Ping timeout: 264 seconds]
ygrek has joined #ocaml
avsm has joined #ocaml
fraggle_ has joined #ocaml
chee has quit [Ping timeout: 245 seconds]
joewilliams_away is now known as joewilliams
ttamttam has joined #ocaml
chee has joined #ocaml
avsm has quit [Quit: Leaving.]
joewilliams is now known as joewilliams_away
_andre has quit [Quit: *puff*]
metasyntax` has quit [Quit: Be seeing you.]
ttamttam has quit [Quit: Leaving.]
_mpu has joined #ocaml
ccasin has quit [Quit: Leaving]
ygrek has quit [Ping timeout: 245 seconds]
ftrvxmtrx has joined #ocaml
Anarchos has quit [Ping timeout: 276 seconds]
Anarchos has joined #ocaml
<Anarchos>
what is the best developing suite for ocaml ?
BiDOrD has joined #ocaml
<olegfink>
Anarchos: I prefer shorts and a t-shirt
<Anarchos>
olegfink i mean kind of eclipse for ocaml
<mehdid>
there is an eclipse mode for ocaml
<mehdid>
never tried it... but it "exists" somewhere :)
<olegfink>
there is tuareg-mode for emacs and a few eclipse plugins, most working in my experience are ocamldt and ocaide
<chee>
tuareg<3
<Anarchos>
mehdid i know it but i am on an os where there is no java ...
ftrvxmtrx has quit [Ping timeout: 240 seconds]
<mehdid>
Anarchos: what's your os?
ftrvxmtrx has joined #ocaml
marteo has quit [Quit: Debian GNU/Hurd is Good.]
ulfdoz has quit [Ping timeout: 264 seconds]
<Anarchos>
mehdid HaikuOS
seafood has joined #ocaml
marteo has joined #ocaml
aja has joined #ocaml
avsm has joined #ocaml
bacam has quit [Ping timeout: 245 seconds]
avsm has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
bzzbzz has quit [Read error: Connection reset by peer]