Extensions:: A technique for structuring functional-logic programs

被引:0
|
作者
Caballero, R [1 ]
López-Fraguas, FJ [1 ]
机构
[1] Univ Complutense Madrid, Dept Sistemas Informat & Programac, E-28040 Madrid, Spain
来源
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Monads are a technique widely used in functional programming languages to address many different problems. This paper presents extensions, a functional-logic programming technique that constitutes an alternative to monads in several situations. Extensions permit the definition of easily reusable functions in the same way as monads, but are based on simpler concepts taken from logic programming, and hence they lead to more appealing and natural definitions of types and functions. Moreover, extensions are compatible with interesting features typical of logic programming, like multiple modes of use, while monads are not.
引用
收藏
页码:297 / 310
页数:14
相关论文
共 50 条
  • [1] Functional-logic integration via minimal reciprocal extensions
    Boley, H
    THEORETICAL COMPUTER SCIENCE, 1999, 212 (1-2) : 77 - 99
  • [2] Transformation Rules and Strategies for Functional-Logic Programs
    Moreno, Ginés
    AI Communications, 2002, 15 (02) : 163 - 165
  • [3] Transformation rules and strategies for functional-logic programs
    Moreno, G
    AI COMMUNICATIONS, 2002, 15 (2-3) : 163 - 165
  • [4] A functional-logic perspective of parsing
    Caballero, R
    López-Fraguas, FJ
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 1999, 1722 : 85 - 99
  • [5] FLANG - A FUNCTIONAL-LOGIC LANGUAGE
    MANTSIVODA, AV
    LECTURE NOTES IN ARTIFICIAL INTELLIGENCE, 1991, 567 : 257 - 270
  • [6] Functional-logic graph parser combinators
    Mazanek, Steffen
    Minas, Mark
    REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2008, 5117 : 261 - 275
  • [7] A Functional-Logic Library for Wired
    Naylor, Matthew
    Axelsson, Emil
    Runciman, Colin
    HASKELL'07: PROCEEDINGS OF THE ACM SIGPLAN 2007 HASKELL WORKSHOP, 2007, : 37 - 48
  • [8] Modularity in functional-logic programming
    MolinaBravo, JM
    Pimentel, E
    LOGIC PROGRAMMING: PROCEEDINGS OF THE FOURTEENTH INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1997, : 183 - 197
  • [9] XQuery in the Functional-Logic Language Toy
    Almendros-Jimenez, Jesus M.
    Caballero, Rafael
    Garcia-Ruiz, Yolanda
    Saenz-Perez, Fernando
    FUNCTIONAL AND CONSTRAINT LOGIC PROGRAMMING, 2011, 6816 : 35 - +
  • [10] Integrating XPath with the Functional-Logic Language Toy
    Caballero, Rafael
    Garcia-Ruiz, Yolanda
    Saenz-Perez, Fernando
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2011, 6539 : 145 - +