Tyxml.Html module does not follow Html_sigs.T
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 179
- Forks
- 63
- Avg merge
- 5h
- Merged PRs (30d)
- 22
Description
Hello,
I’m not sure of this issue, but when working with the functorial interface I had some error with this code:
module Make (HTML : Html_sigs.T) = struct end
module M = Make (Tyxml.Html)
which give an error in the compilation:
The module `Svg' is required but not provided
Is this intended ? It seems to come from the signature in the functorial interface which use destructive substitution (but I’m not sure how to undestand it in the case of modules):
and module Svg := Svg
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Html_sigs.Make functorial interface and its and module Svg := Svg signature, then reproduce the reported snippet using Tyxml.Html. Compare the required Html_sigs.T modules with what Tyxml.Html provides; done means the intended compatibility is established and the reported compilation error is resolved or documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100