Skip to content

Commit 9026eca

Browse files
committed
Remove leftover from DPPL
1 parent 6c9fbe4 commit 9026eca

3 files changed

Lines changed: 5 additions & 21 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name = "AbstractPPL"
22
uuid = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf"
33
keywords = ["probablistic programming"]
44
license = "MIT"
5+
desc = "Common interfaces for probabilistic programming"
56
version = "0.1.0"
67

78
[deps]
@@ -10,4 +11,3 @@ AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
1011
[compat]
1112
AbstractMCMC = "2"
1213
julia = "1"
13-

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# AbstractPPL.jl
22

3-
A new light-weight package, refactoring of `AbstractVarInfo` and associated APIs. The overall goals
4-
are creating an abstract type and minimal set of functions that will be supported all `VarInfo`
5-
types, e.g.
6-
7-
- `TypedVarInfo`: VarInfo with typed model parameters, mostly for HMC,
8-
- `UntypedVarInfo`: VarInfo with untyped model parameters,
9-
- `MixedVarInfo`: VarInfo with both typed and untyped parameters.
10-
11-
This will likely take some time, but the hope is to unify VarInfo, improving its clarity and
12-
modularity. The package will also host other future work like `NoVarInfo` for potential integration
13-
with non-tracing PPLs, `GraphVarInfo` for BUGS style models with statically known dependency
14-
structure, and generic modelling combinators (e.g. For, Switch, IID ) that are common for all PPLs.
3+
A new light-weight package to factor out interfaces and associated APIs for probabilistic
4+
programming languages (especially their modelleing languages). The overall goals are creating an
5+
abstract type and minimal set of functions that will be supported all model and trace types. Some
6+
other commonly used code, such as variable names, can also go here.

src/varname.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,3 @@ function vinds(expr::Expr)
318318
throw("VarName: Mis-formed variable name $(expr)!")
319319
end
320320
end
321-
322-
@generated function inargnames(::VarName{s}, ::Model{_F, argnames}) where {s, argnames, _F}
323-
return s in argnames
324-
end
325-
326-
@generated function inmissings(::VarName{s}, ::Model{_F, _a, _T, missings}) where {s, missings, _F, _a, _T}
327-
return s in missings
328-
end

0 commit comments

Comments
 (0)