Browse | Submit A New Snippet | Create A Package
Snippets by language: Other Language
| Snippet ID | Title | Creator |
|---|---|---|
| Snippets | ||
| 1 | Fisher-Yates Shuffle | Martin Bishop |
| The Fisher-Yates shuffle (aka Knuth Shuffle) in OCaml. | ||
| 2 | Genetic Minimal Sorting Network | Matías Giovannini |
| A Genetic Algorithm to find Minimal Sorting Networks. | ||
| 3 | Aperiodic Tilings | Matías Giovannini |
| Program to generate aperiodic tilings given by rules encoded in modules. | ||
| 6 | Sample OCaml Makefile | Matías Giovannini |
| A sample Makefile for OCaml, showing how to handle automatic dependencies. | ||
| 7 | Rubik Pocket cube | Damien Guichard |
| How to solve the 2 x 2 Rubik Pocket cube using the OCaml-Idaho library. | ||
| 8 | Sine computations | Matías Giovannini |
| Compute the sine function using a Taylor series and a cubic iteration. | ||
| 9 | Simple Trie | Till Crueger |
| A simple Trie, that includes functions for approximate matching. Functorized to allow a wide range of Data types. License: CC Attribution-NonCommercial-ShareAlike 2.0 Generic | ||
| 10 | Domain Name (DNS) Client | Matías Giovannini |
| A simple but complete RFC 1035 (Domain Name) client library, using monadic parsing combinators for protocol decoding. | ||
