DeepDive.FullWalk (Deep Dive v1.0.0) View Source
Link to this section Summary
Functions
This is the main API of the library. It expects the data to be a map-like (or list-like)
structure to be explored. The second argument may be a DeepDive.Comparer.matcher.
Link to this section Functions
Specs
find_key(term(), DeepDive.Comparer.matcher()) :: DeepDive.result()
This is the main API of the library. It expects the data to be a map-like (or list-like)
structure to be explored. The second argument may be a DeepDive.Comparer.matcher.
This means that it may be:
- a
Regex: in such case the key will be matched as such; be aware that thestructs are a special case, in which the name of the struct alone is matched; also, every key that is not possible to transform in aString(i.e. everything that does not implement theStrings.Charsprotocol) will makeraisethe function. - a function of the kind
term -> bool: to allow a custom search logic. - anything else (except functions): in this case the match is done by means of
==.