Relative Content

Tag Archive for functions

How do functional languages handle random numbers?

What I mean about that is that in nearly every tutorial I’ve read about functional languages, is that one of the great things about functions, is that if you call a function with the same parameters twice, you’ll always end up with the same result.

How do functional languages handle random numbers?

What I mean about that is that in nearly every tutorial I’ve read about functional languages, is that one of the great things about functions, is that if you call a function with the same parameters twice, you’ll always end up with the same result.

How do functional languages handle random numbers?

What I mean about that is that in nearly every tutorial I’ve read about functional languages, is that one of the great things about functions, is that if you call a function with the same parameters twice, you’ll always end up with the same result.

How do functional languages handle random numbers?

What I mean about that is that in nearly every tutorial I’ve read about functional languages, is that one of the great things about functions, is that if you call a function with the same parameters twice, you’ll always end up with the same result.

How do functional languages handle random numbers?

What I mean about that is that in nearly every tutorial I’ve read about functional languages, is that one of the great things about functions, is that if you call a function with the same parameters twice, you’ll always end up with the same result.

How do programming languages define functions?

How do programming languages define and save functions/methods? I am creating an interpreted programming language in Ruby, and I am trying to figure out how to implement function declaration.

How do programming languages define functions?

How do programming languages define and save functions/methods? I am creating an interpreted programming language in Ruby, and I am trying to figure out how to implement function declaration.

How do programming languages define functions?

How do programming languages define and save functions/methods? I am creating an interpreted programming language in Ruby, and I am trying to figure out how to implement function declaration.

How do programming languages define functions?

How do programming languages define and save functions/methods? I am creating an interpreted programming language in Ruby, and I am trying to figure out how to implement function declaration.

What is an example of a continuation not implemented as a procedure?

An interesting discussion about the distinction between callbacks and continuations over on SO has prompted this question. By definition, a continuation is an abstract representation of the logic needed to complete a computation. In most languages this manifests as a one argument procedure to which you pass whatever value needs continued processing.