JobPlus知识库 书籍
[书籍] Functional Programming and Input/Output[函数设定与输入/输出]
作者: Andrew D. Gordon
出版社: Cambridge University Press
简介: A common attraction to functional programming is the ease with which proofs can be given of program properties. A common disappointment with functional programming is the difficulty of expressing input/output (I/O), while at the same time being able to verify programs. Here, the author shows how a theory of functional programming can be smoothly extended to admit both an operational semantics for functional I/O and verification of programs engaged in I/O. He obtains operational semantics for the three most widely implemented I/O mechanisms for lazy languages, and proves that the three are equivalent in expressive power. He develops semantics for a form of monadic I/O and verifies a simple programming example. These theories of functional I/O are based on an entirely operational theory of functional programming, developed using Abramsky's 'applicative bisimulation'.
  
分享到
用户推荐(0)

暂无推荐,你也可以发布推荐哦:)

扫码APP

扫描使用APP

扫码使用

扫描使用小程序