Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1.04 KB

README.md

File metadata and controls

24 lines (15 loc) · 1.04 KB

2d physics simulation in LazyPPL

Attempt to add physics simulation as an example of LazyPPL

See the original file at Sam Staton's OPLSS course [link]

See LazyPPL here

Installation

The system uses Haskell stack. You need to install stack first if you want to use the system in the standard way.

To build, type stack build. This may take some time (>1 hour) if it is your first time ever using stack.

To run, type stack run or stack run physics-exe

Note

The original OPLSS sample code fails to compile in macOS (at least on my labtop). A similar problem is seen here. LazyPPL switched to use matplotlib in its development. A similar problem is also seen in other haskel probablistic programming tutorials (like this one).