juxd / dogs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dogs

An OCaml implementation of some functional data abstractions.

Documentation & examples

Currently ongoing. Documentation should be found in:

  1. .mli files of the accompanying data structures
  2. in the examples folder, which also act as tests.

What’s with the name?

Initially my plan was to replicate the functional Scala library Cats. However, after looking into what this library comprises, I found that:

  1. Most data classes are already implemented (in Base or Travesty, which this library builds on top of).
  2. Most data types are pretty narrow in use, such that it’s probably easier and more performant to just hand-write your own implementations in OCaml (E.g. take a look at Kleisli compositions, validations and writers).

So this repo has deviated in design, and became more of OCaml implementations of cool things I learnt while going through FP in Scala with my friends.

Building

$ dune build
$ dune runtest

Installing

Soon(TM)

About


Languages

Language:OCaml 100.0%