at-import / Sassy-Maps

Map helper functions for Sass 3.3 and up
MIT License
66 stars 22 forks source link

Use map-keys instead of get-keys #2

Closed KittyGiraudel closed 10 years ago

KittyGiraudel commented 10 years ago

Why not using the built-in map-keys function instead of your own get-keys function to get the keys from a map?

https://github.com/nex3/sass/blob/master/doc-src/SASS_CHANGELOG.md#sassscript-maps

Snugug commented 10 years ago

They do different things. get-keys is a helper function to return the list of keys to to pass into map-get-deep, which itself uses map-get. The semantics for that are "keys for get" instead of "get me keys"