Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h0tk3y/recursive-functions
Implementing some arithmetic through recursive functions primitives.
https://github.com/h0tk3y/recursive-functions
Last synced: 9 days ago
JSON representation
Implementing some arithmetic through recursive functions primitives.
- Host: GitHub
- URL: https://github.com/h0tk3y/recursive-functions
- Owner: h0tk3y
- Created: 2014-03-16T20:15:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-16T20:31:59.000Z (over 10 years ago)
- Last Synced: 2024-10-08T13:09:23.925Z (30 days ago)
- Language: C#
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Recursive Functions
===================SPb NRU ITMO, 2nd grade, Math Logic course, Hometask #6.
Implementing some arithmetic through recursive functions primitives.See internal implementation of recursive functions primitives in
```
/RecursiveFunctions/RecursiveFunction.cs
```
See implementation of the arithmetic, which is required in the task in
```
/RecursiveFunctions/RecursiveOperations.cs
```
See tests and usage in
```
/UnitTests/Tests.cs
```
Synthax for recursive function example (should be defined in RecursiveOperations.cs):
```csharp
RecursiveFunction Foo = R(U(1), S(N, U(3))); //declaration
Foo.Call(a, b); //one way to call
((Call)Foo)(a,b); //another way to call
```