[developers] counting types

Ben Waldron benjamin.waldron at cl.cam.ac.uk
Fri Jul 8 16:17:27 CEST 2005

Melanie Siegel wrote:
> Hi,
> I would like to know the number of types that the grammar contains. Is 
> the number that flop gives with "processing type constraints" the one 
> that I search for? If not, do you know of a good way to find the right 
> number (ok, I know that one could grep and wc and calculate, but there 
> may be a more elegant way???)?
> Best,
> Melanie
There is a global named *types*. This is probably what you want:

LKB(11): *types*
#<EQ hash-table with 2024 entries @ #x4576e51a>

More information about the developers mailing list