Lazy functional programming in Java']Java

被引:3
|
作者
Dekker, AH [1 ]
机构
[1] Def Sci & Technol Org, Dept Def, Canberra, ACT 2600, Australia
关键词
lazy lists; functional programming; !text type='Java']Java[!/text;
D O I
10.1145/1140543.1140549
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we show how lazy functional programming techniques can be used within the Java programming language. We provide Java implementations of classic examples of lazy lists, such as the Sieve of Eratosthenes, the Eight Queens Problem, and natural-language parsing. We discuss how well these implementations succeed, compared to their original counterparts. We also point out the potential synergy between adding lazy techniques to Java, and adding generic types. The examples we provide would be suitable for teaching functional programming concepts in the context of a Java-based syllabus.
引用
收藏
页码:30 / 39
页数:10
相关论文
共 50 条
  • [31] Control Programming Using Java']Java
    Lueder, Arndt
    Peschke, Joern
    Heinze, Michael
    IEEE INDUSTRIAL ELECTRONICS MAGAZINE, 2008, 2 (02) : 19 - 27
  • [32] A programming logic for sequential Java']Java
    Poetzsch-Heffter, A
    Müller, P
    PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 1576 : 162 - 176
  • [33] Graphics programming with Java']Java.
    Gillespie, T
    LIBRARY JOURNAL, 1999, 124 (18) : 120 - 120
  • [34] Programming system architectures with Java']Java
    Levia, O
    COMPUTER, 1999, 32 (08) : 96 - +
  • [35] Java']Java as a programming language for Internet
    Iyengar, JV
    PROCEEDINGS OF THE TWENTY-SEVENTH ANNUAL MEETING OF THE WESTERN DECISION SCIENCES INSTITUTE, 1998, : 399 - 399
  • [36] An enhancement to Java']Java for programming with assertions
    Zhang, C
    Zheng, LY
    INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-IV, PROCEEDINGS, 1998, : 42 - 49
  • [37] High Performance JAVA']JAVA Programming
    Myalapalli, Vamsi Krishna
    Geloth, Sunitha
    2015 INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING (ICPC), 2015,
  • [38] Java']Java as a first programming language
    Churcher, N
    Tempero, E
    1998 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: EDUCATION & PRACTICE, PROCEEDINGS, 1998, : 390 - 393
  • [39] Hyper-programming in Java']Java
    Zirintsis, E
    Dunstan, VS
    Kirby, GNC
    Morrison, R
    ADVANCES IN PERSISTENT OBJECT SYSTEMS, 1999, : 370 - 382
  • [40] Programming Coordinated Behavior in Java']Java
    Harel, David
    Marron, Assaf
    Weiss, Gera
    ECOOP 2010: OBJECT-ORIENTED PROGRAMMING, 2010, 6183 : 250 - +