Hi Juien,

No, that's not possible. Could you give a longer descriptionof the scenario you had in mind?

Thanks

don

By on 10/21/2006 7:23 AM ()

Hi, I was thinking about something like

1
2
3
4
5
6
7
8
9
10
11
12
 


     type ('token, 'output) study =
        class      
            static member is_valid : (token : 'token) -> bool
            static member input_length : (token : 'token) -> int
            static member minimum_input_length : (token : 'token) -> int
            static member return_nothing : (token : 'token) -> bool
            static member compute : 'token -> int -> int -> 'output             
        end

But this can be handled with modules and operations held in a record, which also allows you to hide the helper functions so, it's not really a problem...

In any case, thanks for the prompt reply!!!

By on 10/21/2006 7:57 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper