Combinator Library

From Handwiki

A combinator library is a software library which implements combinators for a functional programming language; "the key idea is this: a combinator library offers functions (the combinators) that combine functions together to make bigger functions".[1] These kinds of libraries are particularly useful for allowing domain-specific programming languages to be easily embedded into a general purpose language by defining a few primitive functions for the given domain and turning over the task of expanding higher-level constructs to the general language. An example would be the monadic Parsec parser for Haskell. The library approach allows the parsers to be first-class citizens of the language.

See also

  • Run-time system
  • QuickCheck
  • Point-free style programming

References





Categories: [Application programming interfaces]


Download as ZWI file | Last modified: 05/12/2026 10:19:03 | 10 views
☰ Source: https://handwiki.org/wiki/Combinator_library | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]