Skip to content

pveber/binning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binning

A tiny library to count objects (for histograms) or sort them by category (build an association or relation). Here is a typical use:

let histogram xs =
  List.to_seq xs
  |> Binning.counts
  |> List.of_seq
(* val histogram : 'a list -> ('a * int) list = <fun> *)

Installation

opam install binning

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages