Monad在程序设计语言中的应用Application of Manad in Programming Language

3995
    


来源:
Licence:
联系:
分类:
平台:
环境:
大小:
更新:
标签:
联系方式 :
免费下载 ×

下载APP,支持永久资源免费下载

限免产品服务请联系qq:1585269081

下载APP
免费下载 ×

下载APP,支持永久资源免费下载

下载APP 免费下载
下载 ×

下载APP,资源永久免费


如果出现不能下载的情况,请联系站长,联系方式在下方。

免费下载 ×

下载论文助手APP,资源永久免费

免费获取

如果你已经登录仍然出现不能下载的情况,请【点击刷新】本页面或者联系站长


讨论了如何使用Monad解决在纯函数式量子程序设计语言中引入测量函数后违反“引用透明性”的问题

可很好的解决在纯函数式语言中引入命令式语言特征的问题

本文依次给出了范畴论中范畴、函子、自然变换以及Monad的概念

函数式程序设计语言

Monad作为一种构造函数式语言的工具

纯函数式语言不能很好的处理诸如错误处理、状态、I/O等非纯函数式语言的特征

给出了上述概念在Haskell语言中的实现

) Abstract: Generally speaking, pure functional programming language can not deal well with impure features such as notably exception, state and I/O

Monad is a useful tool for introducing imperative features to pure functional programming language

It has tree properties that make it especially useful: modularity, flexibility and isolation

This paper starts by giving the mathematical background of monad by introducing the concept of category, functor, natural transformation and monad respectively

Also, it gives how to describe these concepts in Haskell programming language and the validities of these descriptions

Then it introduces how to define monad, such as Maybe Monad, using Haskell and advantages of using monad when programming

At last it introduces quantum states and its measure function briefly, and discusses how to use monad to solve the “referential transparency” of measure function in quantum pure functional programming language

Keywords: monad;functional programming language;category theory 下载PDF阅读器 PDF全文下载: 初稿 ( 136 ) 作者简介: 通信联系人: 【收录情况】 中国科技论文在线: 朱万海

 Monad在程序设计语言中的应用[EB/OL]

北京:中国科技论文在线

【详情见下载】

免费下载 ×

下载APP,支持永久资源免费下载

下载APP 免费下载
温馨提示
请用电脑打开本网页,即可以免费获取你想要的了。
扫描加我微信 ×

演示

×
登录 ×


下载 ×
论文助手网
论文助手,最开放的学术期刊平台
				暂无来源信息			 
回复
来来来,吐槽点啥吧

作者联系方式

×

向作者索要->