COOKIES: By using this website you agree that we can place Google Analytics Cookies on your device for performance monitoring. |
Unrolling ListsAdd to your list(s) Download to your calendar using vCal
If you have a question about this talk, please contact Ariadne Si Suo . Lists are used throughout functional programming and the idea of defining lists with multiple heads for optimisation is almost as old as the subject itself. We present a theoretical justification for $\mathbb{N}$-indexed (multi-headed) lists as the natural datatypes that comes from unrolling the defining equation $X = 1 + A \times X$ for lists, and give $\mathbb{N}$-indexed implementations of functions that normally use intermediate lists and that satisfy certain conditions. We then discuss staged metaprogramming and use this to speed up these functions so that they are at least as fast as their usual list counterparts. Our guiding examples will be tail-recursive $\map$ and $\filter$ for lists in OCaml. This talk is part of the SANDWICH Seminar (Computer Laboratory) series. This talk is included in these lists:Note that ex-directory lists are not shown. |
Other listsPhysics of Medicine Journal Club Cambridge Startup Weekend Cambridge Institute for Language Research eventsOther talksToward a History of Mathematics in the United States S.P.A.C.E. - Settlements in the Prealpine Area: Como and its Evolution Sample geometry for shear testing with a UTM Revised LOFAR upper limits on the 21-cm signal power spectrum at z ≈ 9 . 1 Reading Hegel in the Twenty-First Century Coffee Break Seminar: Carbon assimilation and allocation: From single cells to plant microbial systems |