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

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.

Cheers,
Axel.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to