Skip to content
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

switch statements? #20

Open
dubiousdavid opened this issue Mar 7, 2013 · 1 comment
Open

switch statements? #20

dubiousdavid opened this issue Mar 7, 2013 · 1 comment

Comments

@dubiousdavid
Copy link

Does pogo have a switch statement?

@refractalize
Copy link
Member

It doesn't, just been one of those things I thought I'd add when I needed it. Turns out we've written thousands of lines so far and haven't needed it yet! Actually I wanted something more powerful than the average switch statement, something that could intelligently deconstruct an object, something a bit like this. But again haven't really needed it so it just got lost. Shouldn't be too hard to add though.

Thanks for all your feedback btw, appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants