Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

SML# in industry: a practical ERP system development

Published: 19 August 2014 Publication History

Abstract

This paper reports on our industry-academia project of using a functional language in business software production. The general motivation behind the project is our ultimate goal of adopting an ML-style higher-order typed functional language in a wide range of ordinary software development in industry. To probe the feasibility and identify various practical problems and needs, we have conducted a 15 month pilot project for developing an enterprise resource planning (ERP) system in SML#. The project has successfully completed as we have planned, demonstrating the feasibility of SML#. In particular, seamless integration of SQL and direct C language interface are shown to be useful in reliable and efficient development of a data intensive business application. During the program development, we have found several useful functional programming patterns and a number of possible extensions of an ML-style language with records. This paper reports on the project details and the lessons learned from the project.

References

[1]
G. Barthe. A computational view of implicit coercions in type theory. Mathematical. Structures in Comp. Sci., 15(5):839--874, 2005.
[2]
P. Buneman, A. Jung, and A. Ohori. Using powerdomains to generalize relational databases. Theoretical Computer Science, 91(1):23--56, 1991.
[3]
P. Buneman and A. Ohori. Polymorphism and type inference in database programming. ACM Transactions on Database Systems, 21(1):30--74, 1996.
[4]
J. Cheney. S. Lindley, and P. Wadler. A practical theory of language-integrated query. In Proc. ACM International Conference on Functional Programming, 403--416, 2013.
[5]
R. Di Cosmo. A short survey of isomorphisms of types. Mathematical. Structures in Comp. Sci., 15(5):825--838, 2005.
[6]
G. E. Krasner and S. T. Pope. A cookbook for using the model-view controller user interface paradigm in smalltalk-80. J. Object Oriented Program., 1(3):26--49, 1988.
[7]
D. Maier. The Theory of Relational Databases. Computer Science Press, 1983.
[8]
R. Milner, M. Tofte, and R. Harper. The Definition of Standard ML. The MIT Press, 1990.
[9]
A. Ohori. Semantics of types for database objects. Theoretical Computer Science, 76:53--91, 1990.
[10]
A. Ohori and P. Buneman. Type inference in a database programming language. In Proc. ACM Conference on LISP and Functional Programming, pages 174--183, 1988.
[11]
A. Ohori, P. Buneman, and V. Breazu-Tannen. Database programming in Machiavelli - a polymorphic language with static type inference. In Proc. the ACM SIGMOD conference, pages 46--57, 1989.
[12]
A. Ohori and K. Ueno. Making Standard ML a practical database programming language. In Proc. ACM ICFP, pages 307--319, 2011.
[13]
SML#. http://www.riec.tohoku.ac.jp/smlsharp/, 2006 - 2014.
[14]
Fieldslib. https://github.com/janestreet/fieldslib

Cited By

View all
  • (2020)The history of Standard MLProceedings of the ACM on Programming Languages10.1145/33863364:HOPL(1-100)Online publication date: 12-Jun-2020
  • (2022)Composite Indicator of the Organisational Information and Communication Technologies Infrastructure—A Novel Statistical Index ToolMathematics10.3390/math1015260710:15(2607)Online publication date: 26-Jul-2022
  • (2017)A Typeful Integration of SQL into CurryElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.234.8234(104-119)Online publication date: 1-Jan-2017
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 49, Issue 9
ICFP '14
September 2014
361 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/2692915
Issue’s Table of Contents
  • cover image ACM Conferences
    ICFP '14: Proceedings of the 19th ACM SIGPLAN international conference on Functional programming
    August 2014
    390 pages
    ISBN:9781450328739
    DOI:10.1145/2628136
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 August 2014
Published in SIGPLAN Volume 49, Issue 9

Check for updates

Author Tags

  1. business application
  2. database programming
  3. record polymorphism
  4. standard ml

Qualifiers

  • Research-article

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2020)The history of Standard MLProceedings of the ACM on Programming Languages10.1145/33863364:HOPL(1-100)Online publication date: 12-Jun-2020
  • (2022)Composite Indicator of the Organisational Information and Communication Technologies Infrastructure—A Novel Statistical Index ToolMathematics10.3390/math1015260710:15(2607)Online publication date: 26-Jul-2022
  • (2017)A Typeful Integration of SQL into CurryElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.234.8234(104-119)Online publication date: 1-Jan-2017
  • (2017)A Proposal of SDN Based Disaster-Aware Smart Routing for Highly-Available Information Storage Systems and Its EvaluationInternational Journal of Software Science and Computational Intelligence10.4018/IJSSCI.20170101059:1(69-83)Online publication date: Jan-2017
  • (2015)An Adaptive Multipath Routing Scheme Based on SDN for Disaster-Resistant Storage SystemsProceedings of the 2015 10th International Conference on Broadband and Wireless Computing, Communication and Applications (BWCCA)10.1109/BWCCA.2015.73(478-483)Online publication date: 4-Nov-2015

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media