<mellum>
aegray: what is unclear about that message?
<mflux_>
nasty association problem
<aegray>
why is it not matching those cases with _->None at the end?
<mflux_>
use an editor that can reindent code and you'll see it ;)
<mflux_>
you need to use parenthesis around the last match
<aegray>
wow...thank you
<aegray>
heh
<aegray>
any good editors for linux?
<aegray>
s/any/which ones are/
<mflux_>
(x)emacs of course.
<m3ga>
I like www.nedit.org with some of my own customisations
<mellum>
m3ga: does it do automatic correct indentation of Ocaml code?
<m3ga>
it does for me. ymmv
<aegray>
wow thanks mflux_ - those little parens made such a difference
<aegray>
:)
<m3ga>
mellum: do you mean re-indent or just on the fly indent?
<aegray>
is there any kind of ocaml formatting for vi available?
<smimou>
yes, omlet
<vodka-goo>
yes, omlet :p
Chipster has joined #ocaml
<mellum>
m3ga: well, if your editor can do one of those it can probably do both :)
<m3ga>
well it doesn't on the fly indentation (with a little manual help). it doesn't do a full re-indent unless you have an external program to do that.
<vodka-goo>
there is no program like "indent" for ocaml as far as I know
<mellum>
m3ga: Hmm. I wouldn't like that.
<Chipster>
bonne nuit tout le monde
Chipster has quit []
<Mathman>
good something to the world?
<Mathman>
hehe, my french is a little lacking
<aegray>
good nite to the world
<aegray>
night maybe
<Mathman>
ah, gotcha
<Schmurtz>
yes, it's 23H in france
teiax has joined #ocaml
bernardo_ has joined #ocaml
m3ga has quit ["Client exiting"]
<Mathman>
nice to know I'm not a total dummy. the second time around this ocaml book is making a lot more sense.
<Mathman>
=)
bernardo has quit [Read error: 110 (Connection timed out)]
mauke has quit [Remote closed the connection]
mauke has joined #ocaml
<dylan>
I attempted on six different occasions to learn ocaml.
<dylan>
The seventh time seems to be working. :)
bernardo__ has joined #ocaml
bernardo__ is now known as bernardo
bernardo__ has joined #ocaml
Albstein has joined #ocaml
threeve has quit []
bernardo__ has quit [Read error: 104 (Connection reset by peer)]
bernardo_ has quit [Read error: 110 (Connection timed out)]
Submarine has joined #ocaml
Skal has quit ["Client exiting"]
vezenchio has quit [Read error: 110 (Connection timed out)]
bernardo has quit [Read error: 110 (Connection timed out)]
threeve has joined #ocaml
<vodka-goo>
dylan: Mathman: glad you're both successful.. but I'm curious, why do you try so hard (especially dylan!) ?
threeve has quit []
<Mathman>
vodka-goo: because I need to unlearn years of assembly, fortran, and C?
<Submarine>
why unlearn?
<vodka-goo>
:)
<Mathman>
hehe, nah, I mean, I just find ocaml interesting for one. I want to learn more about it
<vodka-goo>
good to hear.. unfortunately, most ocaml programmers I know have first been forced to learn it
<vodka-goo>
it's not a very sexy langage in some sense, unlike perl/python/ruby/...
<Mathman>
yeah, I've been messing with python a bit. it's ok. pretty easy to make a little gtk app anyway. ruby is certainly on my agenda. for now I'm on an ocaml kick though.
<Demitar>
It's a language you grow to appreciate, and in the end never want to turn back from. :)
<Mathman>
truth be told, bash is probably the language I'll never turn my back on
<Mathman>
I mean, I probably do more things with bash on a day to day basis than anything
<Demitar>
Yes, but it's a very domain specific language, not a good general programming language. :)