#tuple #append #parser #map #end #element #lisbeth

lisbeth-tuple-tools

A set of tools for tuple manipulation

1 unstable release

0.1.0 Dec 25, 2020

#25 in #end

MIT license

10KB
146 lines

Lisbeth-tuple-tools

Build Status Latest Version Rust Documentation

A set of tools for tuples.

All the described tools are implemented for tuples with arity smaller or equal to 8.

The TupleAppend trait allows to append a value at the end of a tuple of any arity.

The TupleMap* traits allow to map the nth element of a tuple from one type to an other.

Note: while the code is stored in the lisbeth parsing framework repository, this crate does not contain any parsing-related code. As such, it may be used in any project not linked to parsing.

No runtime deps