...
首页> 外文期刊>Acta Ciencia Indica. Mathematics >APPLICATIONS OF MONADS IN FUNCTIONAL PROGRAMMING
【24h】

APPLICATIONS OF MONADS IN FUNCTIONAL PROGRAMMING

机译:MONADS在功能编程中的应用

获取原文
获取原文并翻译 | 示例
           

摘要

Monad is one of the techniques for gaining a widespread acceptance as a model for imperative functional programming. In this project we have discussed how monads provide a convenient framework for simulating effects found in other languages such as global state, exception handling, non determinisim and back tracking with out compromising its purely functional semantics. Also we have discussed to categorical notions of monads and we have shown that how monads can be further refined by using effects. Here we have discussed three case studies in detail. (ⅰ) How monads help in simple evaluator modification ? (ⅱ) How back tracking is achieved in either queen's problem using monads ? (ⅲ) How a simple recursive descent parser can be built using monads ?
机译:Monad是获得广泛接受的一种技术,作为命令式函数式编程的模型。在这个项目中,我们讨论了monad如何提供一个方便的框架来模拟在其他语言(例如全局状态,异常处理,非确定性和反向跟踪)中发现的效果,而又不影响其纯功能语义。我们还讨论了Monad的分类概念,并显示了如何通过使用效果进一步完善Monad。在这里,我们详细讨论了三个案例研究。 (ⅰ)单子如何帮助简单的评估者修改? (ⅱ)如何在单子皇后问题中使用单子实现回溯? (ⅲ)如何使用monad构建简单的递归下降解析器?

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号