siromivel / lambdeth

A functional library for the EVM built in Solidity
MIT License
12 stars 2 forks source link

Consider Implementing a `keyBy` Method #7

Open siromivel opened 5 years ago

siromivel commented 5 years ago

Take an array, returns a mapping with keys from the array's values.

At the moment a solidity function cannot return a mapping type(mappings only exist in storage) - this could be a fun problem to play with!