Closed YuMingLiao closed 6 years ago
Wow, that page is really outdated. I need to update it.
Thanks for the report!
What is actually happening above is that there the type validation is broken.
TutorialD (master/main): d:=relation{a invalidtype}{tuple{a 40}}
TutorialD (master/main): :showexpr d
┌───────────┐
│invalidtype│
├───────────┤
│40 │
└───────────┘
What a dumb mistake!
This issue was caused by insufficient type variable validation, namely that type variables were allowed to become types in relations.
All the types described here are not working.
test result:
no
double :: Double
.And values can't be inserted.