From section 3.13.3 of the curry tutorial: Operations that residuate are called rigid , whereas operations that narrow are called flexible. All defined operations are flexible whereas most primitiv
I was wondering why some casts in C# are checked at compile-time whereas in other cases the responsibility is dumped on CLR. Like above both are incorrect but handled in a different way.
I defined the following struct: public struct Call { public SourceFile caller; public SourceFile callee; public Call(SourceFile caller, SourceFile callee)
i am making a geometry library and i am confused, what should be the return type of a function which calculates the intersection of a segment with another segment. The returned value would sometimes b
In the book Coders at Work (p355), Guy Steele says of C++: I think the decision to be backwards-compatible with C is a fatal
I have built a custom typesystem for usage in C# scripting inside an application. The scripts are compiled on-the-fly and allow interaction with the application internal data. This typesystem is desig
There ar开发者_StackOverflow社区e claims that Scala\'s type system is Turing complete. My questions are:
If not and the set of reference types and value types are mutually exclusive, why doesn\'t this compile:
Reading Disadvantages of Scala type system versus Haskell?, I have to开发者_运维技巧 ask: what is it, specifically, that makes Haskell\'s type system more powerful than other languages\' type systems
I am asking this because it seems like using Object seems to be an easy way out to solve certain problems, like \"I don\'t have a specific type, so use Object\", etc.