Skip to content

Conversation

@croyzor
Copy link
Collaborator

@croyzor croyzor commented Dec 18, 2024

Based on #69, adds nat solving. Draft for now until we add more tests and check we get the right answers.
Resolves #30

Base automatically changed from just-holes to main January 7, 2025 12:27
oddGro (StrictMonoFun (StrictMono 0 mono)) = case mono of
Linear (VPar (ExEnd out)) -> mkPred out >>= demandEven
Linear _ -> err . UnificationError $ "Can't force " ++ show n ++ " to be even"
-- TODO: Why aren't we using `out`??
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we are using mono below??

@croyzor croyzor force-pushed the just-nat-solving branch from 5a19c41 to 5b0c6a8 Compare April 3, 2025 15:13
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.

Generate the right graph for number that are worked out by SolvePatterns unification

3 participants