Generic Haskell: Applications

被引:0
|
作者
Hinze, R
Jeuring, J
机构
[1] Univ Bonn, Inst Informat 3, D-53117 Bonn, Germany
[2] Univ Utrecht, Inst Informat & Comp Sci, NL-3508 TB Utrecht, Netherlands
[3] Open Univ, Heerlen, Netherlands
来源
GENERIC PROGRAMMING | 2003年 / 2793卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Generic Haskell is an extension of Haskell that supports the construction of generic programs. These lecture notes discuss three advanced generic programming applications: generic dictionaries, compressing XML documents, and the zipper: a data structure used to represent a tree together with a subtree that is the focus of attention, where that focus may move left, right, up or down the tree. When describing and implementing these examples, we will encounter some advanced features of Generic Haskell, such as type-indexed data types, dependencies between and generic abstractions of generic functions, adjusting a generic function using a default case, and generic functions with a special case for a particular constructor.
引用
收藏
页码:57 / 96
页数:40
相关论文
共 50 条
  • [1] Generic Storage in Haskell
    Visser, Sebastiaan
    Loh, Andres
    WGP 2010: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON GENERIC PROGRAMMING, 2010, : 25 - 36
  • [2] Generic Haskell: Practice and theory
    Hinze, R
    Jeuring, J
    GENERIC PROGRAMMING, 2003, 2793 : 1 - 56
  • [3] Libraries for Generic Programming in Haskell
    Jeuring, Johan
    Leather, Sean
    Magalhaes, Jose Pedro
    Yakushev, Alexey Rodriguez
    ADVANCED FUNCTIONAL PROGRAMMING, 2009, 5832 : 165 - 229
  • [4] A Generic Deriving Mechanism for Haskell
    Magalhaes, Jose Pedro
    Dijkstra, Atze
    Jeuring, Johan
    Loh, Andres
    ACM SIGPLAN NOTICES, 2010, 45 (11) : 37 - 48
  • [5] Generic Haskell: Practice and theory
    Hinze, Ralf
    Jeuring, Johan
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2003, 2793 : 1 - 56
  • [6] Prototyping generic programming in Template Haskell
    Norell, U
    Jansson, P
    MATHEMATICS OF PROGRAM CONSTRUCTION, PROCEEDINGS, 2004, 3125 : 314 - 333
  • [7] Dependency-style Generic Haskell
    Löh, A
    Clarke, D
    Jeuring, J
    ACM SIGPLAN NOTICES, 2003, 38 (09) : 141 - 152
  • [8] Comparing approaches to generic programming in Haskell
    Hinze, Ralf
    Jeuring, Johan
    Loeh, Andres
    DATATYPE-GENERIC PROGRAMMING, 2007, 4719 : 72 - +
  • [9] Comparing Libraries for Generic Programming in Haskell
    Rodriguez, Alexey
    Jeuring, Johan
    Jansson, Patrik
    Gerdes, Alex
    Kiselyov, Oleg
    Oliveira, Bruno C. D. S.
    ACM SIGPLAN NOTICES, 2009, 44 (02) : 111 - 122
  • [10] Comparing Libraries for Generic Programming in Haskell
    Rodriguez, Alexey
    Jeuring, Johan
    Jansson, Patrik
    Gerdes, Alex
    Kiselyov, Oleg
    Oliveira, Bruno C. D. S.
    HASKELL'08: PROCEEDINGS OF THE ACM SIGPLAN 2008 HASKELL SYMPOSIUM, 2008, : 111 - 122