Small updates

This commit is contained in:
Matthieu Dubuget 2021-05-24 11:02:34 +02:00
parent ad72fdeb0b
commit c50e512184
5 changed files with 11 additions and 38 deletions

View File

@ -3,11 +3,11 @@ Nombres
Convert ints into french.
Some references:
Provided as a 1-function library, and a basic command-line utility (`nbr` — will
certainly be renamed to something longer and less likely to name clash).
More advanced functionnalities could be added when needed. Here are some
references:
- https://leconjugueur.lefigaro.fr/frlesnombres.php
- https://www.miakinen.net/vrac/nombres
- https://www.dcode.fr/ecriture-nombre-lettres
Provided as a 1-function library, and a basic command-line utility (`nbr` — will
certainly be renamed to something longer and less likely to name clash).

View File

@ -1,5 +1,5 @@
let rec parse_and_print () =
print_string "Entier ? > ";
print_string "Entier (Ou [Q]uitter [H]elp) ? > ";
flush stdout;
input_line stdin |> function
| "q" | "Q" -> ()

View File

@ -1,4 +1,4 @@
(lang dune 2.0)
(lang dune 2.8)
(generate_opam_files true)
(name nombres)

View File

@ -1,27 +0,0 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
description: """
Convert ints into french.
Some references:
- https://leconjugueur.lefigaro.fr/frlesnombres.php
- https://www.miakinen.net/vrac/nombres
- https://www.dcode.fr/ecriture-nombre-lettres
"""
depends: [
"dune" {>= "2.0"}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]