Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Jun 27, 2025

  • Adds the TypeRep type class which provides a unique type representation
  • Adds the derive_type_rep macro which derives an appropriate TypeRep instance. This macro is left unfinished, to be completed in future work.
  • Adds the axiom stating that equality of type representations implies the equality of types
  • Adds a cast rcast to cast between types with equal representations
  • Removes Anoma.Raw in favour of using type representations and casts
  • The type representation computation is not completely correct, but this doesn't matter until we actually try to run the model.

@lukaszcz lukaszcz self-assigned this Jun 27, 2025
janmasrovira and others added 6 commits June 27, 2025 18:05
I think the name Prelude more strongly suggests that it is expected to
contain generic functions not tied to Goose or Anoma
@lukaszcz lukaszcz marked this pull request as ready for review July 1, 2025 15:37
@lukaszcz lukaszcz requested a review from janmasrovira July 1, 2025 15:38
@lukaszcz lukaszcz merged commit 0e1116d into main Jul 2, 2025
2 checks passed
@lukaszcz lukaszcz deleted the type-rep branch July 2, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants