My Racket page

Racket belongs to the Lisp family of programming languages and has a lot of batteries included, for example a nice math module.

The contents below:

My Racket programs

Note: most program uses the utilities in
utils_hakank.rkt.

My Racket/Gamble programs (probabilistic programming)

These model use the
Gamble probabilistic programming package. Many of the models are ported from the Church models (and/or Forestdb, Probabilistic Models of Cognition), and from my WebPPL models.

All these models use the utils file gamble_utils.rkt. Some models also use the gamble_distributions.rkt for definition of distributions not found in Gamble (some of them also includes pdf, cdf, and quantile) and are tested in gamble_distributions_test.rkt.
Here are the implemented functions in gamble_distributions.rkt.

The Gamble programs/models:

My Racket/Rosette programs (constraint modeling)

Constraint modeling using the
Rosette package for constraint modeling using SMT solving. My goal is to port as many of the models at Common constraint programming problems as possible.

The file rosette_utils.rkt contains global constraints, wrappers, and other utils:

Rosette models