Re: New Docs, new layout
- Posted by Alan F <acf.projects at gm?il?com> May 02, 2008
- 635 views
Jeremy Cowgar wrote: > > Shawn Pringle wrote: > > > > Hey Jeremy, > > > >Secondly, there are so many > > types that seem to be only implemented as functions. Why not implement them > > as types to extend their functionality? These types include isxdigit(), > > for example. > > I was thinking of that, but do we want types for all those C is??? functions? > i.e. the types would be: alnum, alpha, ascii, cntrl, digit, graph, lower, > print, > punct, space, upper, xdigit ... some of thse in there we cannot use (lower, > print, upper) and others would be confusing as a type (space, graph). > I think it would be useful to have these as types rather than simply as functions, but I agree that simply leaving the 'is' and dropping it entirely to make the type name is not ideal. Perhaps some sort of prefix, like 't_', in front of the name, so we have t_alnum, t_alpha, etc.