kirancodes.me
To Proof Maintenance & Beyond!

916 papers · page 25 of 46

Generics for the masses

Ralf Hinze

A generic function is a function that can be instantiated on many data types to obtain data type specific functionality. Examples of generic functions are the functions that can be derived in Haskell, such as show , read , and ‘==’. The recent years have seen a number of proposal…

Embedded interpreters

Nick Benton

This is a tutorial on using type-indexed embedding/projection pairs when writing interpreters in statically-typed functional languages. The method allows (higher-order) values in the interpreting language to be embedded in the interpreted language and values from the interpreted …