-
Because of the fact that the current version of teal doesn't have type intersection I have to make new types, but of course the compiler doesn't know this so I have to redefine it
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Note: I forgot to mention that example is used somewhere where the type is already defined as Foo (say in a record) and as such can't have the input changed to Bar |
Beta Was this translation helpful? Give feedback.
-
No, not in If you're using LuaRocks, you can install it with |
Beta Was this translation helpful? Give feedback.
No, not in
master
. But do give Tealnext
a spin and give interfaces a try!If you're using LuaRocks, you can install it with
luarocks install tl --dev --branch next
. If you're installing it manually, you can grabtl.tl
from thenext
branch at GitHub.