grokking_simplicity/ch13

ch13

dz / grokking_simplicity / ch13

Summary

Grokking Simplicity Chapter 13: Chaining Functional Tools

Node Tree

Nodes

identity_function
content Identity Function
children returns_arg_unchanged (Definition)

returns_arg_unchanged
content Returns Argument Unchanged
parents identity_function

stream_fusion
content Stream Fusion
children optimizing-chain (What stream fusion does), two_filters_one_filter_with_and, two_maps_single_map, map_reduce-one_reduce

optimizing-chain
content Optimizing chain of map(), filter(), and reduce().
parents stream_fusion

two_maps_single_map
content Two maps in a row equivlane to single map
parents stream_fusion

two_filters_one_filter_with_and
content Two filters in a row equivalent to one filter with AND
parents stream_fusion

map_reduce-one_reduce
content Map + reduce equivalent to one reduce
parents stream_fusion

chaining_tips
content Chaining Tips
children operate_on_whole_array, extract_helper_functions, replace_conditionals_filter, make_data, many_small_steps

make_data
content Make Data
parents chaining_tips

operate_on_whole_array
content Operate on whole array
parents chaining_tips

replace_conditionals_filter
content replace conditionals with filter
parents chaining_tips

extract_helper_functions
content extract helper functions
parents chaining_tips

many_small_steps
content Many small steps
parents chaining_tips

other_functional_tools
content Other Functional Tools
children pluck, concat, frequencies_by, group_by

concat
content concat
parents other_functional_tools

pluck
content Pluck
parents other_functional_tools

frequencies_by
content frequenciesBy()
parents other_functional_tools

group_by
content groupBy
parents other_functional_tools

reduce_for_building_values
content reduce for building values
children augmenting_data, event_sourcing

event_sourcing
content Event sourcing
parents reduce_for_building_values

augmenting_data
content Augmenting Data
parents reduce_for_building_values