User loginNavigation |
How to classify type of ML's exn ? (Naive question)So exn seems kind of like an 'data' type, but with some odd kind of 1-level subclassing (of exn). But exn certainly doesn't seem like a Class type in any simple + common notion of a such a thing. So what exactly is exn? Why isn't it possible for developers to create these types of their own? (or is my SML wrong?). Are there other languages where one can create these odd 'exn'-style types? Does generalizing creation of these sorts of types create some other problems or burdens on the rest of the type system? Aside from raise, are there general classes of problems (development level or problem domain level) that these 'exn' style types are meant to solve? Many thanks for any answers or resources. Scott By scottmcl at 2010-08-09 16:07 | LtU Forum | previous forum topic | next forum topic | other blogs | 8382 reads
|
Browse archives
Active forum topics |
Recent comments
27 weeks 1 day ago
27 weeks 2 days ago
27 weeks 2 days ago
49 weeks 3 days ago
1 year 1 week ago
1 year 3 weeks ago
1 year 3 weeks ago
1 year 5 weeks ago
1 year 10 weeks ago
1 year 10 weeks ago