Show simple item record

dc.rights.licenseCC-BY-NC-ND
dc.contributor.advisorSwierstra, W.S.
dc.contributor.authorKlumpers, Samuel
dc.date.accessioned2023-12-22T00:01:44Z
dc.date.available2023-12-22T00:01:44Z
dc.date.issued2023
dc.identifier.urihttps://studenttheses.uu.nl/handle/20.500.12932/45670
dc.description.abstractThe concept of numerical representations as defined by Okasaki [Oka98] explains how certain datastructures resemble number systems, and motivates how number sys- tems can be used as a basis to design datastructures. Using McBride’s ornaments [McB14], the method of designing datastructures starting from number systems can be made precise. In order to study a broad spectrum of indexed and unindexed numeri- cal representations, we encode a universe allowing the expression of nested datatypes, and the internalization of descriptions of composite types. By equipping the universe with metadata, we can describe number systems and numerical representations in the same setup. Adapting ornaments to this universe allows us to generalize well-known sequences of ornaments, such as naturals-lists-vectors. We demonstrate this by imple- menting the indexed and unindexed numerical representations as ornament-computing functions, producing a sequence of ornaments on top of the number system.
dc.description.sponsorshipUtrecht University
dc.language.isoEN
dc.subjectA universe of nested composite datatypes with metadata is describe. The concept of ornaments is adapted to this universe. Numerical representations are then generically constructed as ornaments on number systems.
dc.titleGeneric Numerical Representations as Ornaments
dc.type.contentMaster Thesis
dc.rights.accessrightsOpen Access
dc.subject.keywordsnumerical representations; ornaments; generic programming
dc.subject.courseuuComputing Science
dc.thesis.id26765


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record