You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/api.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ These statements are rewritten by `@model` as calls of [internal functions](@ref
14
14
@model
15
15
```
16
16
17
-
One can nest models and call another model inside the model function with `left ~ to_sampleable(model)`.
17
+
One can nest models and call another model inside the model function with `left ~ returned(model)`.
18
18
19
19
```@docs
20
-
to_sampleable
20
+
returned(model)
21
21
```
22
22
23
-
In the past, one would instead embed sub-models using [`@submodel`](@ref), which has been deprecated since the introduction of [`to_sampleable(model)`](@ref)
23
+
In the past, one would instead embed sub-models using [`@submodel`](@ref), which has been deprecated since the introduction of [`returned(model)`](@ref)
0 commit comments