Skip to content

Conversation

@phipsgabler
Copy link
Member

This has three very rudimentary consequences:

  • VarName and its helpers are moved over to AbstractPPL completely
  • The new abstract base type for models is AbstractPPL.AbstractProbabilisticProgram <: AbstractMCMC.AbstractModel
  • AbstractVarInfo <: AbstractPPL.AbstractModelTrace

More abstractions (and hopefully concrete generalizations, too) are about to come.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

Looks good to me, just needs a version bump. I would also prefer to merge #217 first to ensure that all Turing tests still pass.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

I'll approve the PR if the version is bumped and the comments are addressed 🙂 Then we can merge and release the changes.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@devmotion
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Mar 29, 2021
This has three very rudimentary consequences:

- `VarName` and its helpers are moved over to AbstractPPL completely
- The new abstract base type for models is `AbstractPPL.AbstractProbabilisticProgram <: AbstractMCMC.AbstractModel`
- `AbstractVarInfo <: AbstractPPL.AbstractModelTrace`

More abstractions (and hopefully concrete generalizations, too) are about to come.
@bors bors bot changed the title Introducing AbstractPPL dependency [Merged by Bors] - Introducing AbstractPPL dependency Mar 29, 2021
@bors bors bot closed this Mar 29, 2021
@bors bors bot deleted the phg/abstractppl_introduction branch March 29, 2021 13:26
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