Axel Simon <axel.si...@ens.fr> writes: > On Sep 27, 2009, at 12:43, Andy Stewart wrote: > >> Cjacker <cjac...@gmail.com> writes: >> >>> Hi, Andi, >>> >>> There are some doc's mistakes in vte binding, please consider to correct it. >>> for example: >>> >>> line 999 >>> -> IO (String -- ^ return pointer to an integer >>> ,Int) -- ^ return a string which matches one of the previously set >>> regular expressions, >>> and >>> which must be freed by the caller. >> I have switch those comment. >> >>> >>> And, >>> >>> type VteSelect = >>> Int -- ^ the column of the character >>> -> Int -- ^ the row of the character >>> -> Bool -- ^ @True@ if the character should be inspected >>> >>> These can not be handled with haddock shiped with ghc-6.10.4, which version >>> of haddock do you >>> use? >> Just remove `^` ? >> Or other format? > > Ah, no, now you've removed the comments from Haddock's view. It'll ignore > comments that do not start > with -- | or -- ^. The best thing is probably to write: > > -- | A predicate that states which characters are of interest. The predicate > @p c r@ > -- should return @True@ if the character at column @c@ and row @r@ should > be extracted. > type VteSelect = Int -> Int -> Bool Okay, change it.
> > BTW, for VTE there is only documentation of 0.20.5 and 0.17.X on the web. > Were there releases > in-between, i.e. did your older installation have an official release > installed? If so, we should > probably require 0.20.5 in configure.ac . At least in 0.17.X the type of the > call-back function > had no typedef'd name. Yes, just 0.20.5 and 0.17.x have document on the web. I write 0.20.0 for Ubuntu 9.04 Some Linux distribute version (Like Ubuntu 9.04) use 0.20.0, that's why i missing `VteSelectionFunc` in my another machine. And i agree your point, we should write 0.17.4 or 0.20.5 (http://library.gnome.org/devel/vte/) along with VTE library. If we write 0.20.5, that's easiest way, i just remove "depreciated" fucntions that never use in 0.20.5, but user perhaps ./configuration failed when he haven't library that version higher than 0.20.5 And this is not big problem, I think Ubuntu 9.10 (or other new linux distribution) will including VTE 0.20.5 If we write 0.17.4, will get better compatibility, then i need do more work that use #ifdef handle different between 0.17.4 and 0.20.5 How do you think? Cheers, -- Andy ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel