摘要
Haskell语言的高阶特性使笔者在开发软件时受益匪浅,但很遗憾,目前国内同行应用这一语言的人非常少。本文介绍Haskell语言的高阶特性,并通过几个与树相关的例子,阐述如何利用Haskell语言的高阶特性来编写功能强大但却简短漂亮的程序。
We get a lot of benefits frotn the higher-order features of Haskell when we develop software. But it is a pity that there are just few colleagues who know this language in China. In this paper we introduce the higher-order features of Haskell and explain how to design powerful but concise programs by using these features through several examples about trees.
出处
《计算机科学》
CSCD
北大核心
2005年第6期167-168,198,共3页
Computer Science
基金
欧盟项目TYPE资助(项目编号types project 29001)
关键词
语言
高阶
应用
开发软件
程序
Functional language
Higher-order function
Haskell
Polymorphism
Lazy computation