spacepaste

code.ml

  1.  
  2. module type M1 =
  3. sig
  4. type t
  5. module type M2 =
  6. sig
  7. type t
  8. end
  9. end
  10. module Make (I1: M1) =
  11. struct
  12. module I2 = I1.M2
  13. type t_arr = I2.array
  14. end
  15.  

error.txt

  1.  
  2. File "code.ml", line 14, characters 14-19:
  3. Error: Unbound module I1.M2
  4.