Type inference or just ... a typo in a paper?

I've inherited some Haskell code, which you can find here: http://web.cecs.pdx.edu/~mpj/pubs/aug.html The text of the accompanying paper says, "we extend the Text class..." -- but the identifier "Text" appears nowhere in the code. Is this just an error in the paper, or is the Text class getting involved in some indirect way, e.g. through String or perhaps because of the line "instance Show Tree where . . ."? Regards, Michael Turner Executive Director Project Persephone 1-25-33 Takadanobaba Shinjuku-ku Tokyo 169-0075 Mobile: +81 (90) 5203-8682 turner@projectpersephone.org Understand - http://www.projectpersephone.org/ Join - http://www.facebook.com/groups/ProjectPersephone/ Donate - http://www.patreon.com/ProjectPersephone Volunteer - https://github.com/ProjectPersephone "Love does not consist in gazing at each other, but in looking outward together in the same direction." -- Antoine de Saint-Exupéry

Hello Michael, Il 18 maggio 2021 alle 17:24 Michael Turner ha scritto:
I've inherited some Haskell code, which you can find here:
http://web.cecs.pdx.edu/~mpj/pubs/aug.html
The text of the accompanying paper says, "we extend the Text class..." -- but the identifier "Text" appears nowhere in the code. Is this just an error in the paper, or is the Text class getting involved in some indirect way, e.g. through String or perhaps because of the line "instance Show Tree where . . ."?
In the updated source (`augupdated.hs`) that is missing, but in the /original/ one (`aug.hs`) I read at line 255 instance Text Tree where Which was then replaced with: instance Show Tree where in the updated version. Weird to know something like `Show` was not named like that in the early nineties! —F
participants (2)
-
Francesco Ariis
-
Michael Turner