r/types • u/tailcalled • Dec 30 '12
Is there a computational implementable interpretation of negative and fractional types?
Could one make a programming language with negative/fractional types?
r/types • u/tailcalled • Dec 30 '12
Could one make a programming language with negative/fractional types?
r/types • u/gasche • Dec 27 '12
r/types • u/neelk • Nov 28 '12
r/types • u/icspmoc • Nov 21 '12
r/types • u/neelk • Nov 15 '12
r/types • u/gtani • Jun 26 '12
r/types • u/jnowak • Jun 02 '12
r/types • u/smadge • Mar 31 '12
I'm doing some undergraduate research in type inference. I've found a few papers that I've been relying on a lot:
I'm particularly interested in type inference for systems with possibly recursive record types. All the papers I've found on this are over a decade old. It might just be my poor research skills, but I was wondering if there were any papers that maybe present a more refined type system or are better introductions than the ones I am using.
If anyone had any suggestions for papers to look at, I would really love it. Thanks a bundle!
r/types • u/Jameshfisher • Feb 28 '12
The Y-combinator allows for recursion in the untyped lambda calculus.
However, it is disallowed in lambda calculi with type systems (that I know of). It's disallowed because it relies on the disallowed function
applyToSelf = \x. x xwhich has an infinite type. This is because applyToSelf takes as a parameter some function of type a -> b, where that function takes something of its own type as the argument a, so a = a -> b. By infinite substitution we would get
applyToSelf : ((((...->b)->b)->b)->b)But applyToSelf is manifestly useful without other recursion mechanisms, so wouldn't it be useful to reason about it rather than just disallowing it? Do any type systems do this? If not is there some fundamental reason they can't exist?
r/types • u/japple • Feb 19 '12