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

Return of Maybe[...] ...perhaps #11

Open
sanko opened this issue Nov 26, 2022 · 0 comments
Open

Return of Maybe[...] ...perhaps #11

sanko opened this issue Nov 26, 2022 · 0 comments
Labels
question Further information is requested todo Public TODO list

Comments

@sanko
Copy link
Owner

sanko commented Nov 26, 2022

Wrapping a type in Maybe[...] or Optional[...] could function a lot like their Types::Standard counterparts. Right now, Void is being used to skip over unwanted vars (for things like generating automatic constructors that don't want the package name like perl's new() would) in LibUI.pm. Maybe[...] could wrap trailing parameters that might be optional. This might be a code smell upstream though.

@sanko sanko added question Further information is requested todo Public TODO list labels Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested todo Public TODO list
Projects
None yet
Development

No branches or pull requests

1 participant