Created
April 3, 2014 20:02
-
-
Save kjessup/9961780 to your computer and use it in GitHub Desktop.
This is an additional implimentation of map->find which accepts two or more keys. Each key is sought for in the map and a staticarray is returned containing each result.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define map->find(one, two, ...)::staticarray => | |
(with key in (:#one, #two) + #rest or (:) | |
select .find(#key))->asStaticArray |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment