-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a way to get type of object #47
Comments
How about a new keyword (eg, |
Can you give an example of the use case? |
|
fun Pop my_list = ( |
That one we can implement by making a function to delete at an index. I think we should put off implementing this feature until we actually need it. |
do u mean in support cpp |
Yeah — #107 — and then it can be fun Pop a = ArrayDelete a ((ArrayLength a) - 1) |
ok sounds good to me |
In the stdlib, we may find that we'll have to initialize an empty list of the some input list.
We can reuse the type keyword, or we can use Type keyword, so it looks like a function (when in reality it's a signal to the compiler to grab the type)
The text was updated successfully, but these errors were encountered: