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

handles Positional doesn't "work" #4455

Open
p6rt opened this issue Aug 5, 2015 · 3 comments
Open

handles Positional doesn't "work" #4455

p6rt opened this issue Aug 5, 2015 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 5, 2015

Migrated from rt.perl.org#125754 (status was 'open')

Searchable as RT125754$

@p6rt
Copy link
Author

p6rt commented Aug 5, 2015

From @jdv

Hello,

I recently tried to make a custom array type so that I could
type the values. My intent would be that it would act like
an array in all ways except have the value typing.

I tried delegating to * but that doesn't work because Any is
a parent. It was suggested that delegating to Positional
would be a good idea.

See​:

http://irclog.perlgeek.de/perl6/2015-08-05#i_11008623
http://design.perl6.org/S12.html#Delegation
https://gist.github.com/anonymous/0a3088ffb1f46aee7928

-jdv

@p6rt
Copy link
Author

p6rt commented Sep 18, 2017

From @skids

On Wed, 05 Aug 2015 10​:06​:17 -0700, jdv79 wrote​:

Hello,

I recently tried to make a custom array type so that I could
type the values. My intent would be that it would act like
an array in all ways except have the value typing.

I tried delegating to * but that doesn't work because Any is
a parent. It was suggested that delegating to Positional
would be a good idea.

See​:

http://irclog.perlgeek.de/perl6/2015-08-05#i_11008623
http://design.perl6.org/S12.html#Delegation
https://gist.github.com/anonymous/0a3088ffb1f46aee7928

-jdv

This and (TODO) RT#​122991 can probably be combined. The features
desired are roughly equivalent.

@p6rt
Copy link
Author

p6rt commented Sep 18, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant