You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once upon a type, predicates were much simpler than ordinary types. In those halcyon days, it made sense to separate DPred from DType so that code that consumes predicates needn't match on impossible cases.
Those days are long gone now. It's true that we'll never have, say, a literal at the head of a predicate, but that's really a kind error, not a syntax error. And I worry that keeping DPred separate isn't really worth it anymore.
What think you?
The text was updated successfully, but these errors were encountered:
I would support this. There's quite a bit of faffing about in the code to convert from DPreds to DTypes in various places, which feels silly given that DType only differs from DPred in two places.
Once upon a type, predicates were much simpler than ordinary types. In those halcyon days, it made sense to separate
DPred
fromDType
so that code that consumes predicates needn't match on impossible cases.Those days are long gone now. It's true that we'll never have, say, a literal at the head of a predicate, but that's really a kind error, not a syntax error. And I worry that keeping
DPred
separate isn't really worth it anymore.What think you?
The text was updated successfully, but these errors were encountered: