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 条
  • [21] Functional-Logic Programming for Web Knowledge Representation, Sharing and Querying
    Nickles, Matthias
    KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT, EKAW 2014, 2014, 8876 : 333 - 338
  • [22] Declarative debugging of missing answers in constraint functional-logic programming
    Caballero, Rafael
    Artalejo, Mario Rodriguez
    Virseda, Rafael del Vado
    LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 425 - 427
  • [23] On Structuring Functional Programs with Monoidal Profunctors
    De Oliveira, Alexandre Garcia
    Jaskelioff, Mauro
    De Melo, Ana Cristina Vieira
    Electronic Proceedings in Theoretical Computer Science, EPTCS, 2022, 360 : 134 - 150
  • [24] On Structuring Functional Programs with Monoidal Profunctors
    de Oliveira, Alexandre Garcia
    Jaskelioff, Mauro
    Vieira de Melo, Ana Cristina
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, (360): : 134 - 150
  • [25] From Logic to Functional Logic Programs
    Hanus, Michael
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2022, 22 (04) : 538 - 554
  • [26] STRUCTURING FP-STYLE FUNCTIONAL PROGRAMS
    FLECK, AC
    COMPUTER LANGUAGES, 1986, 11 (02): : 55 - 63
  • [27] FUNCTIONAL COMPUTATIONS IN LOGIC PROGRAMS
    DEBRAY, SK
    WARREN, DS
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1989, 11 (03): : 451 - 481
  • [28] A LOGIC FOR NONDETERMINISTIC FUNCTIONAL PROGRAMS
    GILLUEZAS, A
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 380 : 197 - 208
  • [29] Correction of functional logic programs
    Alpuente, M
    Ballis, D
    Correa, FJ
    Falaschi, M
    PROGRAMMING LANGUAGES AND SYSTEMS, 2003, 2618 : 54 - 68
  • [30] From Functional Logic Programs to Purely Functional Programs Preserving Laziness
    Brassel, Bernd
    Fischer, Sebastian
    IMPLEMENTATION AND APPLICATION OF FUNCTIONAL LANGUAGES, 2011, 5836 : 25 - 42