User loginNavigation |
Desperately seeking monomorphic typingSuppose a small language with a few primitive types (number, boolean, string) and first-class procedures from and to these types with arbitrary but fixed arity, and the usual syntax (if, let, top-level definitions), but without type declarations. And suppose that the types of all primitive procedures (which are monomorphic) are given, and so is the type of the top-level procedure ("main", a procedure that is not invoked by any procedure, also monomorphic). The language is strict, if it matters. What I'd like to have is an algorithm that can find the unique monomorphic type of all other procedures in a closed program, or prove that there is none. For example, in Can anyone help? (Update: Actually, I'm wrong; that example is typeable. As I said, it's procedure-valued arguments that create problems.) By johnwcowan at 2009-10-28 16:27 | LtU Forum | previous forum topic | next forum topic | other blogs | 4333 reads
|
Browse archives
Active forum topics |
Recent comments
2 weeks 5 days ago
43 weeks 15 hours ago
43 weeks 19 hours ago
43 weeks 19 hours ago
1 year 13 weeks ago
1 year 17 weeks ago
1 year 19 weeks ago
1 year 19 weeks ago
1 year 21 weeks ago
1 year 26 weeks ago