Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Repository files navigation

Devoir de Programmation Fonctionnelle

LE CODE DANS CE DÉPÔT N'EST PAS EXACTEMENT LE MÊME RENDU POUR DES RAISONS DE SÉCURITÉ

Pour installer les paquets dont le projet a besoin :

opam install .  \
    --deps-only \
    --with-doc  \
    --with-test \

Pour compiler le projet :

dune build

Pour lancer les tests :

dune test

Pour exécuter le projet :

dune exec devoir_de_programmation

Pour exécuter le projet avec des arguments de ligne de commande :

dune exec devoir_de_programmation -- [...args]

Exemple :

dune exec devoir_de_programmation -- \
    -data "1 2 3 2"                  \
    -problem maxocc                  \
    -print                           \
    -query 0 1                       \
    -query 0 3                       \
    -update 3 0                      \
    -print                           \
    -query 0 3

devrait donner l'affichage suivant :

(1, 1) (2, 1) (3, 1) (2, 1)
(2, 1)
(3, 1)
input[0]=3
(3, 1) (2, 1) (3, 1) (2, 1)
(3, 2)

About

Projet de Programmation Fonctionnelle, UFR ST Orléans 2024

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages