Difference between revisions of "User:ConradParker/InstantInsanity"

From HaskellWiki
Jump to navigation Jump to search
(add link to darcs repo)
m (add link to wiki talk page)
Line 12: Line 12:
* darcs get http://seq.kfish.org/instant-insanity/
* darcs get http://seq.kfish.org/instant-insanity/
* [[User_talk:ConradParker/InstantInsanity|Wiki talk page for discussion]]

Revision as of 04:20, 30 August 2007

Type-Level Instant Insanity

We illuminate some of the techniques used to perform computations in The Haskell Type System by presenting a complete type-level program. Programming at this level is often considered an obscure art with little practical value, but it need not be so. We introduce constructs equivalent to list comprehensions, maps and filters of conventional functional programming, and in so doing make clear the mechanical techniques required to construct programs in this manner. Only after building an understanding of the syntactical oddities and transformations involved in programming in The Haskell Type System do we consider the practical aspects of using these techniques in conventional Haskell programming.