» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with fp + *toread

Metamorphic Programming

Metamorphic programming is an approach to extend the structured recursive programming discipline, which favors the use of fold operations over general recursion, to abstract data types. The key idea is to represent an ADT by two parts, a constructorand a destructor,which are essentially functions to/from a common representation. Then a fold can work on an ADT by applying parameter functions to values that are delivered by the ADT's own destructor. Fold operations that use as a parameter the constructor of another ADT, called ADT transformers,play an important role and offer a concise programming style. Several laws for ADT folds and transformers exist that can be used for program optimization and verification.

Haskell: del.icio.us tag/haskell

All About Monads

"A comprehensive guide to the theory and practice of monadic programming in Haskell."

Haskell: del.icio.us tag/haskell