Digression: OCaml Is Not Pure

Abstract

Apurely functional function has no side effects. A purely functional programming language would not allow functions with side effects to be defined. But wait, there’s more! Because functions and algorithms cannot have side effects, variables are immutable and persistent. This persistence is not the same as disk storage or serialization; it means that previous versions of a given value can be retained by the language.

Keywords

Encapsulation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Joshua B. Smith 2006

Personalised recommendations