• Home
  • Search
  • Scrap your boilerplate with XPath-like combinators
  • Cite Icon19
  • https://doi.org/10.1145/1190215.1190240Copy DOI Icon

Scrap your boilerplate with XPath-like combinators

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

XML programming involves idioms for expressing 'structure shyness' such as the descendant axis of XPath or the default templates of XSLT. We initiate a discussion of the relationships between such XML idioms and generic functional programming, while focusing on the (Haskell-based) 'Scrap your boilerplate' style of generic programming (SYB). This work gives insight into mechanisms for traversal and selection. We compare SYB and XSLT. We approximate XPath in SYB. We make a case for SYB's programmability, when compared to XPath's fixed combinators. We allude to strengthened type checking for SYB traversals so as to reject certain, trivial behaviors.

Similar Papers
  • Research Article

Programmable Rewriting Strategies in Haskell: — White Paper —

  • Apr 01, 2005
  • Electronic Notes in Theoretical Computer Science
  • Ralf Lämmel
  • Book Chapter
  • Citations35

Comparing Approaches to Generic Programming in Haskell

  • Jan 01, 2007
  • Ralf Hinze +2
  • Research Article
  • Citations58

Generic functional programming with types and relations

  • Jan 01, 1996
  • Journal of Functional Programming
  • Richard Bird +2
  • Research Article
  • Citations13

Programming errors in traversal programs over structured data

  • Feb 06, 2012
  • Science of Computer Programming
  • Ralf Lämmel +2
  • Book Chapter
  • Citations1

A Generic Functional Representation of Sorted Trees Supporting Attribution

  • Jan 01, 2013
  • Jean-Marie Gaillourdet +3
  • Conference Article
  • Citations73

Comparing libraries for generic programming in haskell

  • Sep 25, 2008
  • Alexey Rodriguez +5
  • Research Article
  • Citations1

Generic programming with combinators and objects

  • Oct 01, 2021
  • Scientific and Technical Journal of Information Technologies, Mechanics and Optics
  • D.S Kosarev +1
  • Book Chapter
  • Citations3

Algebraic Data Types

  • Jan 01, 2009
  • Barry Jay
  • Book Chapter
  • Citations37

Type-Safe Two-Level Data Transformation

  • Jan 01, 2006
  • Alcino Cunha +2
  • Conference Article

Can Programming Be Liberated from the Functional Style?

  • Jun 12, 2025
  • Friedrich Steimann
  • Book Chapter

Back to Math: Functional Programming

  • Jan 01, 2019
  • Peter Späth
  • Book Chapter
  • Citations5

Specialising Simulator Generators for High-Performance Monte-Carlo Methods

  • Jan 07, 2008
  • Gabriele Keller +4
  • Book Chapter
  • Citations8

Introducing Constraint Functional Logic Programming

  • Jan 01, 1992
  • John Darlington +2
  • Book Chapter
  • Citations7

An Introduction to iTasks: Defining Interactive Work Flows for the Web

  • Jun 01, 2008
  • Rinus Plasmeijer +2
  • Research Article
  • Citations5

LogScheme: Integrating logic programming into Scheme

  • Sep 01, 1990
  • Lisp and Symbolic Computation
  • Erik Ruf +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.