@conference {camilarev1, title = {Camila Revival: VDM meets Haskell}, booktitle = {Proceedings of Overture Workshop }, year = {2005}, month = {July}, publisher = {University of Newcastle TR series}, organization = {University of Newcastle TR series}, address = {University of Newcastle upon Tyne, UK}, abstract = {

We have experimented with modeling some of the key concepts of the VDM specification language inside the functional programming language Haskell. For instance, VDM{\textquoteright}s sets and maps are directly available as data types defined in standard libraries; we merely needed to define some additional functions to make the match complete. A bigger challenge is posed by VDM{\textquoteright}s data type invariants, and pre- and post- conditions. For these we resorted to Haskell{\textquoteright}s constructor class mechanism, and its support for monads. This allows us to switch between different modes of evaluation (e.g. with or without property checking) by simply coercing user defined functions and operations to different specific types.

}, attachments = {https://haslab.uminho.pt/sites/default/files/lsb/files/2005-camilarevival.pdf}, author = {Joost Visser and Jos{\'e} Nuno Oliveira and Luis Soares Barbosa and Jo{\~a}o F. Ferreira and Alexandra Mendes}, editor = {Nico Plat and Peter Gorm Larsen} }