HackerPapers

arXiv:1007.3023cs.PL

Purely Functional Structured Programming

Steven Obua

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

The idea of functional programming has played a big role in shaping today's landscape of mainstream programming languages. Another concept that dominates the current programming style is Dijkstra's structured programming. Both concepts have been successfully married, for example in the programming language Scala. This paper proposes how the same can be achieved for structured programming and PURELY functional programming via the notion of LINEAR SCOPE. One advantage of this proposal is that mainstream programmers can reap the benefits of purely functional programming like easily exploitable parallelism while using familiar structured programming syntax and without knowing concepts like monads. A second advantage is that professional purely functional programmers can often avoid hard to read functional code by using structured programming syntax that is often easier to parse mentally.

arXiv comments
Journal reference
DOI
Subjects
cs.PLProgramming Languages

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Sep 2013 to Sep 2013. Found in 1 HN submission from Jul 2010 to Jul 2010. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. Effective Scala 1 comment

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.