« first day (3188 days earlier)      last day (1245 days later) » 

5:29 PM
1
Q: Is occurrence typing (flow-sensitive typing) a form of dependent typing?

Max HeiberI take occurrence typing to be typing that "... allows the type system to ascribe more precise types based on whether a [check] succeeds or fails." (adapted from the Racket docs with "predicate check" replaced with "check") Here's a TypeScript example: function foo(x: string | number) { switc...

 

« first day (3188 days earlier)      last day (1245 days later) »