Skip to main content
Notice removed Reward existing answer by Han Seoul-Oh
Bounty Ended with Kannan Goundan's answer chosen by Han Seoul-Oh
Notice added Reward existing answer by Han Seoul-Oh
Bounty Started worth 50 reputation by Han Seoul-Oh
added 1 character in body
Source Link
Erik Kaplun
  • 38.5k
  • 15
  • 102
  • 113

I read through the Wikipedia article Existential typesExistential types. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

?

I read through the Wikipedia article Existential types. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

?

I read through the Wikipedia article Existential types. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

?

Copy edited.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

What is an Existential Typeexistential type?

I read through the Wikipedia article wikipedia entry on thisExistential types. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

?

What is an Existential Type?

I read through the wikipedia entry on this. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

What is an existential type?

I read through the Wikipedia article Existential types. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); } 

?

Source Link
Claudiu
  • 230.6k
  • 174
  • 507
  • 702

What is an Existential Type?

I read through the wikipedia entry on this. I gathered that they're called existential types because of the existential operator (∃). I'm not sure what the point of it is, though. What's the difference between

T = ∃X { X a; int f(X); } 

and

T = ∀x { X a; int f(X); }