Commit Graph

20 Commits

Author SHA1 Message Date
5d256a468f Fix function name Square 2023-09-14 19:44:15 +02:00
1c48e57ea1 Move the TODO's up 2023-09-14 19:32:30 +02:00
a4f5af3ea5 Defined the signature of the function that is being created too 2023-09-14 19:31:21 +02:00
7dc26ea297 get template literals working with multiple dependencies 2023-09-14 17:42:42 +02:00
722ee05a0a resolve any number of arguments 2023-09-14 14:51:49 +02:00
11792e0435 experiment inferring TS types from a JS template 2022-12-24 20:17:36 +01:00
a5848125e4 fix and test absquare for quaternion 2022-12-23 17:18:24 +01:00
60ce6212b4 convert code to type aliases 2022-12-23 13:52:56 +01:00
04024a2a8d fix a TS issue 2022-12-23 12:22:41 +01:00
cbd1719227 experiment: convert all implementations to plain types 2022-12-23 11:27:39 +01:00
8c06c8f36e feat: Add generic operation square and numeric unequal (#4)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #4
2022-12-22 16:12:36 +00:00
fbec410c42 feat: Implement complex arithmetic through sqrt
Together with any auxiliary functions needed for that goal. Also
  strives to ensure the same functions are being defined for
  number and for `Complex<T>`.
2022-12-22 00:14:58 -05:00
d55776655f refactor: Convenience type operator for specifying concrete signatures 2022-12-21 11:41:25 -05:00
1eb73be2fa refactor: entirely new scheme for specifying return types 2022-12-21 00:18:42 -05:00
3fa216d1f4 refactor: Major simplification in providing implementation types (#2)
This PR is an effort to address #1. It removes all boilerplate
  from individual implementation files, and moves it into
  a small, fixed section in the single `all.ts` module for each
  type that collects up all of the implementations relating
  to that type.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #2
2022-12-19 23:50:24 +00:00
29bcab1639 style: whitespace fixes 2022-12-19 17:14:26 -05:00
ccc6153786 feat: TypeScript typings for Dispatcher implementations
A first pass at specifying some implementations in TypeScript
  that actually compiles. It doesn't do anything, as installing
  types and operation specifications are currently dummy operations,
  but they are all invoked.
2022-12-06 20:21:05 -05:00
2a9039ac67 experiment: Can't put code in declare sections :-) 2022-12-06 12:10:18 -05:00
78f3975d54 chore: pnpm init and add TypeScript 2022-12-02 09:15:25 -05:00
215a36a847 Initial commit 2022-12-02 14:04:53 +00:00