Karolin Varner
Karolin Varner
Type safe way of iterating the properties of arbitrary types; this is a reflection feature and refers to arbitrary types. ```js const entries = (o) => isdef(o) ? Object.entries(o) :...
We should provide functions for traversing trees make from containers that implement Get/Set ```js const treeGet = (seq, tree) => foldl(seq, tree, (c, k) => get(c, k)); const treeSet =...
```js assertSequenceEquals( rotate([[1,2,3], [4,5,6]]), [[1,4],[2,5],[3,6]]); // Supply extensions to higher dimensions ```
Rename the Get trait to TryGet; the signature should be `tryGet(key, default)`. We can derive from this: ``` const get = (c, k) => { const none = Symbol(); const...
We should provide a support module for working with promises. ```js // Can be imported by path and using destructuring const { fork } = require('ferrum/async'); const { async: {...
I've had some trouble using ferrum in an es6 module. We should evaluate how well ferrum works in a module context and provide integration tests making sure that ferrum can...
We should apply the linter to our examples. Blocked by https://github.com/adobe/ferrum.doctest/issues/19
https://github.com/adobe-rnd/github-purge-cache-action/blob/master/index.js#L39
``` optAlias = (values, aliases) => object; ``` e.g. ({foo: 42, b: 13}, {foo: ['bar', 'bang'], bar: ['b']}) => {foo: 42, bar: 13, b: 13})
``` isType = (val, T) => type(v) === T; match = (v, pred, fn) => pred(v) ? fn(v) : v ```