Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Todo: Make iterable mapping for multiple types, included a double iterable mapping #60

Open
VoR0220 opened this issue May 19, 2016 · 6 comments

Comments

@VoR0220
Copy link
Member

VoR0220 commented May 19, 2016

...this will likely be easier done when solidity has a generic template type in place...

@Tzunami
Copy link

Tzunami commented May 20, 2016

There's the embrark framework

@VoR0220
Copy link
Member Author

VoR0220 commented May 20, 2016

...what does the embark framework have to do with this?

@sunny-g
Copy link

sunny-g commented May 21, 2016

I haven't tested this code, but if it works, you could use it as a template for creating iterable mappings that work on different types.

@VoR0220
Copy link
Member Author

VoR0220 commented May 21, 2016

@sunny-g and this compiles currently?

@sunny-g
Copy link

sunny-g commented May 24, 2016

@VoR0220 Like I said, I hadn't tested it yet, but I imagine that if it works within the solidity-browser-compiler, it should work everywhere.

@VoR0220
Copy link
Member Author

VoR0220 commented May 24, 2016

it does not. Mostly because the generic type is not allowed yet.

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

No branches or pull requests

3 participants