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 条
  • [31] Overlapping rules and logic variables in functional logic programs
    Antoy, Sergio
    Hanus, Michael
    LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 87 - 101
  • [32] First-order modular logic programs and their conservative extensions
    Harrison, Amelia
    Lierler, Yuliya
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2016, 16 : 755 - 770
  • [33] From functional specifications to logic programs
    Gelfond, M
    Gabaldon, A
    LOGIC PROGRAMMING - PROCEEDINGS OF THE 1997 INTERNATIONAL SYMPOSIUM, 1997, : 355 - 369
  • [34] Monadic logic programs and functional complexity
    Universidade do Porto, Porto, Portugal
    Theor Comput Sci, 1-2 (175-204):
  • [35] Specialization of lazy functional logic programs
    Alpuente, M
    Falaschi, M
    Julian, P
    Vidal, G
    ACM SIGPLAN NOTICES, 1997, 32 (12) : 151 - 162
  • [36] Reporting Failures in Functional Logic Programs
    Hanus, Michael
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 177 (01) : 59 - 73
  • [37] Incremental learning of functional logic programs
    Ferri-Ramírez, C
    Hernández-Orallo, J
    Quintana, MJR
    FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 233 - 247
  • [38] SFLP: a solver for functional logic programs
    Hamada, M
    Ida, T
    PROCEEDINGS OF THE FIFTH JOINT CONFERENCE ON INFORMATION SCIENCES, VOLS 1 AND 2, 2000, : 466 - 469
  • [39] DERIVATION OF LOGIC PROGRAMS BY FUNCTIONAL METHODS
    BIJLSMA, A
    INFORMATION PROCESSING LETTERS, 1991, 39 (06) : 325 - 332
  • [40] Transformation and debugging of functional logic programs
    Alpuente M.
    Ballis D.
    Falaschi M.
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2010, 6125 : 271 - 299