package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.0.tar.gz
md5=497e3f2f7128a6ca347d66848da38a3d
sha512=4a76ebbafda3bc944afaff40d69791dfe153a0638ef5d7e6e1bc962b7f991d9545cd0af2d7930b39f8b31dbf067d0603cfa03d9b7a49396ab1ae452df47fd1f3

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.