Skip to content

Conversation

hew02
Copy link

@hew02 hew02 commented Jan 20, 2025

Still wrapping my head around Links' codebase but I felt this way of doing things was not too obtuse. I saw there was an effort to bootstrap lib so if that moves forward I assume that this work would have to be refactored. If there is a better approach I would appreciate the feedback.

+ Reconfigured lib.ml's arithmetic operations to use the numeric subkind as a primitive form of ad hoc polymorphism.
+ Moved `abs()` to `lib.ml` so it can be ad hoc by piggybacking of OCaml's type matching
+ The keyword `effect` is now reserved in OCaml, renamed a case in irCheck
+ Added a fix for the Emacs mode
@hew02 hew02 changed the title Added subkind Numeric and reconfigured lib.ml's Added subkind Numeric for ad hoc arithmetic operations Feb 23, 2025
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.

1 participant