Difference between revisions of "Talk:1312: Haskell"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(example progras in Haskell)
Line 6: Line 6:
  
 
Does anyone have a clue what the Incomplete flag refers to? This seems like a pretty good explanation to me. --[[User:Mynotoar|Mynotoar]] ([[User talk:Mynotoar|talk]]) 11:22, 3 January 2014 (UTC)
 
Does anyone have a clue what the Incomplete flag refers to? This seems like a pretty good explanation to me. --[[User:Mynotoar|Mynotoar]] ([[User talk:Mynotoar|talk]]) 11:22, 3 January 2014 (UTC)
 +
 +
Example programs written in Haskell are: pandoc, universal markup converter; git-annex, tool to manage large files in git DVCS. --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 11:37, 3 January 2014 (UTC)

Revision as of 11:37, 3 January 2014

"Thus, it is possible to have a variable representing the entire infinite list of Fibonacci numbers." Except that Haskell has no variables- nothing is mutable, as they say. You could certainly write a function that generates an infinite list of Fibonacci numbers when called (and lazily evaluated later), but it won't be bound to a variable. If it was, then the list would take up an infinite amount of memory, and lazy evaluation would be pointless.

I will, however, leave the above word "variable" in the explanation, because I can't come up with a concise way of explaining the above. --Someone Else 37 (talk) 09:07, 3 January 2014 (UTC)

Does anyone have a clue what the Incomplete flag refers to? This seems like a pretty good explanation to me. --Mynotoar (talk) 11:22, 3 January 2014 (UTC)

Example programs written in Haskell are: pandoc, universal markup converter; git-annex, tool to manage large files in git DVCS. --JakubNarebski (talk) 11:37, 3 January 2014 (UTC)