io.github.kelvindev15.prolog.core.RecursiveStruct.BinaryRecursiveStruct
See theBinaryRecursiveStruct companion trait
Attributes
- Companion
-
trait
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Attributes
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Folds a sequence of arguments into a binarized struct using a strategy.
Folds a sequence of arguments into a binarized struct using a strategy.
Type parameters
- T
-
the type of BinaryRecursiveStruct.
Value parameters
- args
-
the sequence of terms.
- strategy
-
the strategy for binarization.
Attributes
Binarize a list of Terms using a strategy.
Binarize a list of Terms using a strategy.
Value parameters
- args
-
the arguments to binarize.
- strategy
-
the binarization strategy.
Attributes
- Throws
-
IllegalArgumentException
if the are no args.