![]() | |
编程范型 | 纯函数式 |
---|---|
設計者 | Lennart Augustsson, Dave Barton, Brian Boutel, Warren Burton, Joseph Fasel, Kevin Hammond, Ralf Hinze, 保罗·胡达客, John Hughes, Thomas Johnsson, Mark Jones, 西蒙·佩頓·瓊斯, John Launchbury, Erik Meijer, John Peterson, Alastair Reid, Colin Runciman, 菲利普·瓦德勒 |
发行时间 | 1990年[1] |
当前版本 |
|
型態系統 | 推论, 静态, 强类型 |
操作系统 | 跨平臺 |
文件扩展名 | .hs , .lhs |
網站 | www |
主要實作產品 | |
GHC, Hugs, NHC, JHC, Yhc | |
受影响于 | |
Clean,[3] FP,[3] Gofer,[3] Hope和Hope+,[3] Id,[3] ISWIM,[3] KRC,[3] Lisp,[3] Miranda,[3] ML和Standard ML,[3] Orwell, SASL,[3] Scheme,[3] SISAL[3] | |
影響語言 | |
Agda,[4] Bluespec,[5] C++11/Concepts,[6] C#/LINQ,[7][8][9][10] Cayenne,[7] Clean,[7] Clojure,[11] CoffeeScript,[12] Curry,[7] Elm, Escher,[13] F#,[14] Frege,[15] Hack,[16] Idris,[17] Isabelle,[7] Java/Generics,[7] LiveScript,[18] Mercury,[7] PureScript,[19] Python,[7][20] Raku,[21] Rust,[22] Scala,[7][23] Swift,[24] Timber,[25] Visual Basic 9.0[7][8] |
Haskell(发音为/ˈhæskəl/)[26]是一种标准化的,通用的纯函數式編程語言,有惰性求值和强静态类型[27]。它的命名源自美国逻辑学家哈斯凱爾·加里,他在数理逻辑方面上的工作使得函数式编程语言有了广泛的基础。在Haskell中,“函数是頭等物件”[28]。作为一门函數程式語言,主要控制结构是函数。Haskell语言是1990年在编程语言Miranda语言的基础上标准化的,并且以λ演算为基础发展而来。这也是为什么Haskell语言以希腊字母「λ」(Lambda)作为自己的标志。Haskell具有“证明即程序、命题为类型”的特征[29][30][31][32]。
F# also draws from Haskell particularly with regard to two advanced language features called sequence expressions and workflows.
The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.
© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search