https://github.com/renderedtext/complex-number-service
Service for complex number operations
https://github.com/renderedtext/complex-number-service
Last synced: 4 months ago
JSON representation
Service for complex number operations
- Host: GitHub
- URL: https://github.com/renderedtext/complex-number-service
- Owner: renderedtext
- Created: 2016-09-29T08:21:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T08:39:42.000Z (over 9 years ago)
- Last Synced: 2025-11-04T09:03:03.937Z (8 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ComplexThrifter
A demo that shows how to use Thrift with a client-server app.
Run with:
`mix run`
## Demo
```elixir
a = ComplexThrifter.Client.create(1, 2)
b = ComplexThrifter.Client.create(3, 3)
c = ComplexThrifter.Client.create(2, 2)
d = ComplexThrifter.Client.add(a, b)
e = ComplexThrifter.Client.subtract(d, c)
```