WebPPL Unofficial Reference Manual
Contents
Philosophy: docs that don’t lie
Data shapes and call forms
Distributions
Functional Programming
Cookbook (patterns and “when to use what”)
Options objects
Arrays vs tensors
WebPPL Unofficial Reference Manual
Cookbook (patterns and “when to use what”)
Edit on GitHub
Cookbook (patterns and “when to use what”)
Unlike a flat API list, this section groups things by
decision points
:
Options objects
Why use options objects?
Practical rule of thumb
Common bug pattern
Arrays vs tensors
Arrays
Tensors
Key gotcha: “flat storage”