Description

Monads are used in Haskell to support error handling and a concept of global state such as input/output. Parsing is a killer application for monads. This paper discusses a parser generator implementation for Java and JavaScript and shows how to benefit greatly from object-oriented design patterns based on monads adapted from functional programming. All examples discussed here are available for online use through the links at the end of the paper.

Date of creation, presentation, or exhibit

2008

Comments

© ACM 2008. This is the author's version of the work. It is posted here for your personal use. Not for redistribution.

Source: ACM OOPSLA Killer Examples Workshop held in October 2008.

Document Type

Presentation

Department, Program, or Center

Computer Science (GCCIS)

Campus

RIT – Main Campus

Share

COinS