package bam
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Gen.Merge
Source
The bind function needs to be able to merge nodes between two trees. This library allows you to override the default behaviour be defining your own merge function. The function with_merge
aims to be used just before the next bind.
By default, bind
uses the Merge.default
strategy. See Tree.with_merge
for an explanation of what merging is.
default
is the merging function used by bind
. While using bind gen f
, values of gen
always preceeds the values produced by f a
where a
is either the value produced by the generator gen
or during the shrinking.