On Mon, 10 May 2010 10:31:13 -0500 >>>>>> "Edward" == "Edward K. Ream" wrote:
Edward> > do $ less leo/core/xxx.py Edward> > the sentinels make the files look terrible. Edward> Edward> It's true. There is a cost. The files with sentinels look terrible for VCS or on the screen? Some applications (e.g. LyX) which has their own file-format, hide the 'sentinels' and display only clear content - that's similar to Leo. However, if one wants to have docs under VCS, it is not so pretty to look at in a 'ascii' editor. This, of course, means to have front-end which is same for everybody which is not possible with the source code files. I (plan to) use Leo with Emacs and can live with sentinels and ready to pay the price. Edward> I'd like to make it go away. But how do make essential data Edward> go away??? Are you aware of Haskell language? Usually people make distinction between static typing (C, C++, Java..) and dynamic typing (Pyhon, Ruby...). Now Haskell is different in the sense that it has type inference which means that even without writing type declarations, compiler can provide the type for the expression based on the context. It requires that some 'intelligence' in embedded in the Haskell compiler in order to do that which compilers for other languages cannot do due to various reasons. Maybe here lies the secret how to do it...Don't ask me more. I do not know the answer now... Btw, I also consider that Haskell would be appropriate language for application like Leo. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 ----------------------------------------------------------------
signature.asc
Description: PGP signature
