Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ml > Re: type constr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 952 of 973
Post > Topic >>

Re: type constructor XXX would escape its scope

by rossberg@[EMAIL PROTECTED] Apr 16, 2008 at 04:31 AM

On Apr 14, 11:05 pm, kenzhu2...@[EMAIL PROTECTED]
 wrote:
>
> This expression (f) has type string IData.t Stream.t
> but is here used with type MySpec.t IData.t Stream.t
> The type constructor MySpec.t would escape its scope

Because of the signature ascription " : A.Spec", the module MySpec is
sealed and the type MySpec.t made abstract. Try either removing the
ascription, or make t transparent by refining it to " : A.Spec with
type t = string".

- Andreas
 




 2 Posts in Topic:
type constructor XXX would escape its scope
kenzhu2000@[EMAIL PROTECT  2008-04-14 14:05:30 
Re: type constructor XXX would escape its scope
rossberg@[EMAIL PROTECTED  2008-04-16 04:31:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 11:05:38 CDT 2008.