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
Wu should have sum types as well as interface-like type parameters. This will speed up the development process, while also making it even more fun and nice to use the language:
Cat:struct{
weight:float}
Dog:struct{
hat:bool}
dog_or_cat: Cat | Dog =new Cat {
weight:1000}
# can later be Dog
Wu should have sum types as well as interface-like type parameters. This will speed up the development process, while also making it even more fun and nice to use the language:
Then the following:
The text was updated successfully, but these errors were encountered: