Hacker News
new
past
comments
ask
show
jobs
points
by
BoingBoomTschak
13 hours ago
|
comments
by
steveklabnik
12 hours ago
|
[-]
You can use a "subtype predicate" for this:
https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...
reply
by
BoingBoomTschak
12 hours ago
|
parent
|
[-]
Might be less efficient, no? At least in CL (
https://www.lispworks.com/documentation/HyperSpec/Body/t_sat...
) this is the case, that static type analysis isn't clever enough to work with predicate based types.
reply
by
steveklabnik
12 hours ago
|
parent
|
[-]
I don't know enough about the details to speak to it.
reply