-- Type annotation (optional)fib::Int->Integer-- With self-referencing datafibn=fibs!!nwherefibs=0:scanl(+)1fibs-- 0,1,1,2,3,5,...-- Same, coded directlyfibn=fibs!!nwherefibs=0:1:nextfibsnext(a:t@(b:_))=(a+b):nextt-- Similar idea, using zipWithfibn=fibs!!nwherefibs=0:1:zipWith(+)fibs(tailfibs)-- Using a generator functionfibn=fibs(0,1)!!nwherefibs(a,b)=a:fibs(b,a+b)
↑Drobi, Sadek (4 March 2009). "Erik Meijer on LINQ". InfoQ. QCon SF 2008: C4Media Inc. Retrieved 9 February 2012.{{cite news}}: CS1 maint: location (link)
↑Hickey, Rich. "Clojure Bookshelf". Listmania!. Amazon.com. Retrieved 9 February 2012.
↑Syme, Don; Granicz, Adam; Cisternino, Antonio (2007). Expert F#. Apress. p. 2. F# also draws from Haskell particularly with regard to two advanced language features called sequence expressions and workflows.
↑Lattner, Chris (2014-06-03). "Chris Lattner's Homepage". Chris Lattner. Retrieved 2014-06-03. 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.
Yorgey, Brent (12 March 2009). "The Typeclassopedia"(PDF). The Monad.Reader (13): 17–68. Archived from the original(PDF) on 24 ਦਸੰਬਰ 2012. Retrieved 29 ਮਈ 2016{{cite journal}}: CS1 maint: postscript (link)Reader (13): 17–68