Commit Graph

7 Commits

Author SHA1 Message Date
Jos de Jong bd05dc9267 chore: make SignatureKey generic instead of using unknown 2023-01-04 14:32:44 +01:00
Jos de Jong d147d0a576 chore: implement `AliasOf` 2023-01-04 12:35:37 +01:00
Jos de Jong 1b9d6b6428 chore: use direct function definitions instead of `{ params, returns }` 2023-01-04 12:28:24 +01:00
Jos de Jong a0b21181e6 chore: rename `OpType` to `Signature` 2023-01-04 12:12:28 +01:00
Glen Whitney 6d63d23498 refactor: Streamline types and signature specfications
The main mechanism for simplification was simply to assume that
  ZeroType<T> and OneType<T> will always be in T. That removed a lot
  of specialized typing, and presumably will be true in practice.

  Otherwise, removes extraneous type definitions and adds/clarifies
  a number of comments to hopefully make the scheme as clear as possible.
2022-12-24 11:16:58 -05:00
Glen Whitney 072b2a1f79 refactor: Streamline publishing operations
Avoids clumsy naming properties by making the names the keys in
  an interface to which the signatures of all operations must be
  published. This also reduces the number of different symbols and
  avoids long lists of imports in the modules implementing multiple
  operations, which were redundant with the list of functions
  exported from such modules.
2022-12-24 10:09:14 -05:00
Glen Whitney 74e2aef524 refactor: tighter universal interface types 2022-12-24 00:41:35 -05:00