-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cm/symbolictypes #71
Cm/symbolictypes #71
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly bikeshedding things. With an inline comment about adding a method for promote_symtype
to the registration macro
end | ||
end | ||
|
||
function SymbolicContext(d::decapodes.DecaExpr, __module__=@__MODULE__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you call this with 1 arguement, does this @__MODULE__
resolves to SymbolicUtilsInterop or to Main?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the docstring and the esc usage comment blocking this
|
||
``` | ||
@register foo(S1, S2, ...)::ThDEC begin | ||
@operator foo(S1, S2, ...)::Theory begin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh, I see that this return type is like a categories as contexts approach. We are using the abstract type that all of our symbolic quantities inhabit as the "category as context" to anchor the algebraic theory on. I like this as a hybrid between the Catlab/Gatlab approach to explicit theories as the starting point and the SymbolicUtils "a number is a thing you can do math on" approach that minimizes the role of the algebraic theory.
Bugfix to cm/symbolictypes
…aticEquations.jl into cm/symbolictypes
No description provided.