Dollar
Dollar copied to clipboard
A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript
Saw not valid Swift code and also fixed some spacing problems 🙃
Re-creating this ticket because the soln was never merged: #275 "_In order to use Swift Package Manager to add Dollar as a dependency in Xcode 11, the Package.swift file must...
````swift func fullfill(element: Any, count: Int) { } let a = [1, 2, 3, 4] a.fullfill(0, 2) // [1, 2, 3, 4, 0, 0] ```` `fullfill` will extend the array...
For example I cannot currently do this: `$.omit(myDictionary, keys: ["one", "two", "three"])` But must instead do this: `$.omit(myDictionary, keys: "one", "two", "three")` For lots of design paradigms (e.g. my blacklisted...