Advertisement
Guest User

Untitled

a guest
Oct 31st, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Finished, 0 targets (0 cached) in 00:00:00.
  2. + /usr/bin/ocamlfind ocamlc -i t.ml > t.inferred.mli
  3. File "t.ml", line 7, characters 33-87:
  4. Error: Signature mismatch:
  5. Modules do not match:
  6. sig
  7. type elt = S.elt
  8. type t = S.t
  9. val empty : t
  10. val is_empty : t -> bool
  11. val mem : elt -> t -> bool
  12. val add : elt -> t -> t
  13. val singleton : elt -> t
  14. val remove : elt -> t -> t
  15. val union : t -> t -> t
  16. val inter : t -> t -> t
  17. val diff : t -> t -> t
  18. val compare : t -> t -> int
  19. val equal : t -> t -> bool
  20. val subset : t -> t -> bool
  21. val iter : (elt -> unit) -> t -> unit
  22. val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
  23. val for_all : (elt -> bool) -> t -> bool
  24. val exists : (elt -> bool) -> t -> bool
  25. val filter : (elt -> bool) -> t -> t
  26. val partition : (elt -> bool) -> t -> t * t
  27. val cardinal : t -> int
  28. val elements : t -> elt list
  29. val min_elt : t -> elt
  30. val max_elt : t -> elt
  31. val choose : t -> elt
  32. val split : elt -> t -> t * bool * t
  33. val myfunction : int -> unit
  34. end
  35. is not included in
  36. MySet
  37. Command exited with code 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement