Skip to content

juxd/dogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages