Software Practice and Experience · 1994 · 16 citations · 14 references
ComputingComputer ScienceDesignData StructuresProgramming LanguagesSoftware EngineeringData TypesProgramming Language DesignSoftware ArchitectureSoftware DesignSpecification LanguagesType SystemsData Representation MappingFunctional Data StructuresFunctional Software DesignModel Specification LanguagePrototypingPrototyping ToolsZ Notation
Abstract Z is a widely used, model‐oriented specification language. Haskell is a programming language that was recently developed to serve as a standard for non‐strict, purely functional languages. Although functional languages have proved to be excellent prototyping tools, Haskell was designed as a general purpose language which could be used when building large software systems. This paper develops two designs for a computerized class roll. The development begins with a description of the requirements and initial specification. The next section delineates the designs and explains how each design targets a specific Haskell data structure: design one employs sequences to model lists, whereas design two uses a Z function to describe a Haskell array. The corresponding implementations follow, along with a critical analysis of each translation from Z notation to Haskell code. The paper demonstrates that Z design schemas map well to at least two Haskell data types, namely the list and the array. Furthermore, it includes insights into how software developers might translate similar Z designs to Haskell.
14
A Transformation System for Developing Recursive Programs
R. M. Burstall, John Darlington · Journal of the ACM · 1977 · 1.3K citations · Full text
The Z notation: A reference manual
Jan Madey · Science of Computer Programming · 1990 · 561 citations
R. M. Burstall, David MacQueen, Donald Sannella · 1980 · 351 citations
A gentle introduction to Haskell
Paul Hudak, Joseph H. Fasel · ACM SIGPLAN Notices · 1992 · 209 citations · Full text