Equations
- Batteries.DList.instEmptyCollection = { emptyCollection := Batteries.DList.empty }
Equations
- Batteries.DList.instInhabited = { default := Batteries.DList.empty }
Equations
- Batteries.DList.instAppend = { append := Batteries.DList.append }
@[deprecated Batteries.DList.ofThunk]
Alias of Batteries.DList.ofThunk
.
Convert a lazily-evaluated List
to a DList
Instances For
Concatenates a list of difference lists to form a single difference list. Similar to
List.join
.
Equations
- Batteries.DList.join [] = Batteries.DList.empty
- Batteries.DList.join (x_1 :: xs) = x_1 ++ Batteries.DList.join xs