Content area

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.

Details

1009240
Title
Purely Functional Structured Programming
Publication title
arXiv.org; Ithaca
Publication year
2011
Publication date
Feb 10, 2011
Section
Computer Science
Publisher
Cornell University Library, arXiv.org
Source
arXiv.org
Place of publication
Ithaca
Country of publication
United States
University/institution
Cornell University Library arXiv.org
e-ISSN
2331-8422
Source type
Working Paper
Language of publication
English
Document type
Working Paper
Publication history
 
 
Online publication date
2011-02-11
Milestone dates
2010-07-18 (Submission v1); 2011-02-10 (Submission v2)
Publication history
 
 
   First posting date
11 Feb 2011
ProQuest document ID
2086365970
Document URL
https://www.proquest.com/working-papers/purely-functional-structured-programming/docview/2086365970/se-2?accountid=208611
Full text outside of ProQuest
Copyright
© 2011. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Last updated
2019-05-24
Database
ProQuest One Academic