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 条
  • [41] Controlling search in functional logic programs
    Hanus, M
    Steiner, F
    LOGIC PROGRAMMING - PROCEEDINGS OF THE 1998 JOINT INTERNATIONAL CONFERENCE AND SYMPOSIUM ON LOGIC PROGRAMMING, 1998, : 347 - 348
  • [42] Partial evaluation of functional logic programs
    Alpuente, M
    Falaschi, M
    Vidal, G
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 20 (04): : 768 - 844
  • [43] Liberal Typing for Functional Logic Programs
    Lopez-Fraguas, Francisco
    Martin-Martin, Enrique
    Rodriguez-Hortala, Juan
    PROGRAMMING LANGUAGES AND SYSTEMS, 2010, 6461 : 80 - 96
  • [44] Concolic Testing of Functional Logic Programs
    Tikovsky, Jan Rasmus
    DECLARATIVE PROGRAMMING AND KNOWLEDGE MANAGEMENT, DECLARE 2017, 2018, 10997 : 169 - 186
  • [45] Nondeterminism analysis of functional logic programs
    Brassel, B
    Hanus, M
    LOGIC PROGRAMMING, PROCEEDINGS, 2005, 3668 : 265 - 279
  • [46] Proving failure in functional logic programs
    López-Fraguas, FJ
    Sánchez-Hernández, J
    COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 179 - 193
  • [47] Free Theorems for Functional Logic Programs
    Christiansen, Jan
    Seidel, Daniel
    Voigtlaender, Janis
    PLPV'10: PROCEEDINGS OF THE 2010 ACM SIGPLAN WORKSHOP ON PROGRAMMING LANGUAGES MEETS PROGRAM VERIFICATION, 2010, : 39 - 48
  • [48] Monadic logic programs and functional complexity
    Matos, AB
    THEORETICAL COMPUTER SCIENCE, 1997, 176 (1-2) : 175 - 204
  • [50] A New Technique for Verifying and Correcting Logic Programs
    Ricardo Caferra
    Nicolas Peltier
    Journal of Automated Reasoning, 1997, 19 : 277 - 318