package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.1.tar.gz
md5=4cf944bcae5d36bf47b67f6bcb2455d7
sha512=0262b5768aefd7c080f664c46c88876fce9a658cc6a87358a77b7112c49ae3042e7ab542e76be5738fbaeda853149b308b48d4897960b5c7ae3b4da71d978bd8

doc/biocaml.unix/Biocaml_unix/Roman_num/index.html

Module Biocaml_unix.Roman_num

Roman numerals. Values greater than or equal to 1 are valid roman numerals.

type t = private int
val of_roman : string -> t Core_kernel.Or_error.t

Parse string as a roman numeral if possible. Case-insensitive.

val of_arabic : int -> t Core_kernel.Or_error.t

Convert integer to roman numeral. Return Error if given int is less than 1.

val to_roman : t -> string

String representation of a roman numeral.

val to_arabic : t -> int

Integer representation of a roman numeral.

OCaml

Innovation. Community. Security.