search for: cartesianfaith

Displaying 2 results from an estimated 2 matches for "cartesianfaith".

2013 Jan 21
0
lambda.r 1.1.0 on CRAN
...c fib(n) %when% { n < 0 } %as% { stop("Negative numbers not allowed") } fib(0) %as% 1 fib(1) %as% 1 fib(n) %as% { fib(n-1) + fib(n-2) } > fib(-1) Error in function (n) : Negative numbers not allowed > fib(5) [1] 8 Documentation is available at the following locations: . http://cartesianfaith.wordpress.com/category/r/lambda-r/ . https://github.com/muxspace/lambda.r A more complete discussion on why analytical systems should be designed using functional programming principles will be available in my forthcoming book on functional programming and computational finance. Warm Regards, Br...
2013 Jan 21
0
lambda.r 1.1.0 on CRAN
...c fib(n) %when% { n < 0 } %as% { stop("Negative numbers not allowed") } fib(0) %as% 1 fib(1) %as% 1 fib(n) %as% { fib(n-1) + fib(n-2) } > fib(-1) Error in function (n) : Negative numbers not allowed > fib(5) [1] 8 Documentation is available at the following locations: . http://cartesianfaith.wordpress.com/category/r/lambda-r/ . https://github.com/muxspace/lambda.r A more complete discussion on why analytical systems should be designed using functional programming principles will be available in my forthcoming book on functional programming and computational finance. Warm Regards, Br...