Structural polymorphism in Generic Haskell

287
Следующее
07.09.16 – 371:02:31
Mixin modules
Популярные
Опубликовано 7 сентября 2016, 16:04
Using `Generic Haskell`, an extension of the functional programming language Haskell, one can define `structurally polymorphic functions`: functions that take a type argument and are defined by induction on the structure of datatypes. Using this mechanism, functions such as equality, comparison, parsing and pretty printing, but also several forms of traversals and queries on data structures can be expressed. Such functions are defined once, in a type-safe way, and can then be used on all Haskell datatypes. The talk will introduce structural polymorphism in contrast to parametric and ad-hoc polymorphism, both of which are already supported in standard Haskell. The core features of Generic Haskell will be highlighted using several examples of type-indexed functions.
Свежие видео
16 дней – 90 7958:42
Nintendo Switch 2 - 6 MAJOR New Leaks!
Случайные видео
17.02.22 – 25 0732:29
Samsung Innovation Campus: Peru
автотехномузыкадетское