Skip to content

ahuoguo/lazyppl_physics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published