dc.contributor.author | Frid, Kathryn | |
dc.date.accessioned | 2023-06-27T23:47:25Z | |
dc.date.available | 2023-06-27T23:47:25Z | |
dc.date.issued | 2023-06-28 | |
dc.date.submitted | 2023-06-27T22:00:45Z | |
dc.identifier.uri | https://hdl.handle.net/11250/3073826 | |
dc.description.abstract | This thesis describes datatype-generic programming, what it is, and how it is done in Scala. The thesis covers ways of thinking about datatype-generic programming and today's tools and libraries for datatype-generic programming in Scala and summarize how to use them. A new library called perspective for datatype-generic programming with higher kinded data is presented. How these libraries, including perspective, work together with sum types is be covered. Benchmarks are presented on both runtime and compile time performance of perspective and other libraries. perspective manages to keep up in performance with other libraries while offering faster code at the expense of longer compile time if a developer opts into this. Finally, an example language-integrated query library built on perspective is described. | |
dc.language.iso | eng | |
dc.publisher | The University of Bergen | |
dc.rights | Copyright the Author. All rights reserved | |
dc.subject | typeclass derivation | |
dc.subject | datatype-generic programming | |
dc.subject | language integrated query library | |
dc.subject | LINQ library | |
dc.subject | functional programming | |
dc.subject | higher kinded types | |
dc.subject | higher kinded data | |
dc.subject | scala | |
dc.title | Generic programming using Higher Kinded Data | |
dc.type | Master thesis | |
dc.date.updated | 2023-06-27T22:00:45Z | |
dc.rights.holder | Copyright the Author. All rights reserved | |
dc.description.degree | Masteroppgave i informatikk | |
dc.description.localcode | INF399 | |
dc.description.localcode | MAMN-INF | |
dc.description.localcode | MAMN-PROG | |
dc.subject.nus | 754199 | |
fs.subjectcode | INF399 | |
fs.unitcode | 12-12-0 | |