HN user

nathangrigg

15 karma
Posts1
Comments3
View on HN
G()('al') 12 years ago

Python:

    def g(a='', n=0):
        return 'g '+ 'o'*n + a if a else lambda a='': g(a, n+1)

It has both a "printed" TOC starting at the end of the first page, and a PDF TOC which should be visible to iBooks.