Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug dans la doc #2899

Closed
vicuna opened this issue Aug 9, 2001 · 2 comments
Closed

Bug dans la doc #2899

vicuna opened this issue Aug 9, 2001 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 9, 2001

Original bug ID: 479
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Bonjour,

un feature wish qui se transforme en bug report ...
Je voulais pouvoir donner des contraintes dans les inclusions de types de
modules:

include X with module Y = Z

mais le manuel semble indiquer que c'est impossible:

The expression include modtype-path in a signature performs textual
inclusion of the components of the signature denoted by modtype-path. It
behaves as if the components of the included signature were copied at the
location of the include. The modtype-path argument must refer to a module
type that is a signature,

(http://caml.inria.fr/ocaml/htmlman/manual017.html)

Je souligne la phrase problématique (le paragraphe se termine sur cette
virgule); en fait, il semble que ça marche bien avec n'importe quel type
de module.

Cordialement,

Alain Frisch

@vicuna
Copy link
Author

vicuna commented Aug 13, 2001

Comment author: administrator

Bonjour Alain,

un feature wish qui se transforme en bug report ...
Je voulais pouvoir donner des contraintes dans les inclusions de types de
modules:

include X with module Y = Z

mais le manuel semble indiquer que c'est impossible:

Tu as raison, le manuel est trop restrictif, l'exemple ci-dessus
marche très bien.

Je souligne la phrase problématique (le paragraphe se termine sur cette
virgule); en fait, il semble que ça marche bien avec n'importe quel type
de module.

Pas tout à fait: il faut que le type de module se réduise en une
signature, si c'est un type de foncteur ça ne marche pas (évidemment).

Je corrige la doc de ce pas.

  • Xavier

@vicuna
Copy link
Author

vicuna commented Aug 13, 2001

Comment author: administrator

Documentation fixed 2001-08-13 by XL.

@vicuna vicuna closed this as completed Aug 13, 2001
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant