Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "roman"

Title:Roman numerals
Rating:Not rated. Create the first rating!
Latest version:0.1.0
SHA1 sum:dca988f5fa2919f930a3fe257d91f175a532892c
Author:Michael Hendricks <michael@ndrix.org>
Maintainer:Michael Hendricks <michael@ndrix.org>
Packager:Michael Hendricks <michael@ndrix.org>
Home page:https://github.com/mndrix/roman
Download URL:https://github.com/mndrix/roman/archive/v0.1.0.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.1.0dca988f5fa2919f930a3fe257d91f175a532892c53https://github.com/mndrix/roman/archive/v0.1.0.zip

Synopsis

:- use_module(library(roman), [roman/2]).

?-  roman(17,R).
R = "XVII".

?- roman(A,`XVII`).
A = 17.

Description

Work with Roman numerals.

Installation

Using SWI-Prolog 7.1 or later:

?- pack_install(roman).

This module uses semantic versioning.

Source code available and pull requests accepted at http://github.com/mndrix/roman

Contents of pack "roman"

Pack contains 7 files holding a total of 82.0K bytes.