Commit Graph

5 Commits

Author SHA1 Message Date
4999cad775 fix: prevent obsolete typed-functions from hanging around
In other words, if name a depends on b and b is invalidated (because
  of added implementations), then a must be invalidated as well.

  Also adds a specific test (custom/piecemeal) that tests this.
2022-07-19 11:48:52 -07:00
66cbccfbbe feat: Allow self-reference in implementations
And use it to define negate and add for Complex numbers in a way that
  is independent of component types.

  Also add a bigint type and verify that pocomath will then handle Gaussian
  integers "for free".
2022-07-19 11:16:29 -07:00
b82336e590 feat: Add complex numbers
No negation (and therefore no subtraction) since that needs self-reference.
2022-07-19 09:52:16 -07:00
b59a8c2ca9 feat: Allow nonrecursive whole-function dependencies (#2)
And implement negate on numbers, and use dependencies to define subtract.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #2
2022-07-19 03:10:55 +00:00
c5384e0ee7 feat: First operational instance with just add 2022-07-18 17:08:49 -07:00