JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
destruct (@NotNull kala.collection.immutable.ImmutableSeq<T > repr)
makeCons (@NotNull CtorDef cons,
@NotNull org.aya.util.Arg<Term > type,
org.aya.util.Arg<T > x,
org.aya.util.Arg<T > xs)
@NotNull kala.collection.immutable.ImmutableSeq<T >
Method Details
repr
@NotNull
@NotNull kala.collection.immutable.ImmutableSeq<T > repr ()
makeNil
@NotNull
T makeNil (@NotNull
@NotNull CtorDef nil,
@NotNull
@NotNull org.aya.util.Arg<Term > type)
makeCons
@NotNull
T makeCons (@NotNull
@NotNull CtorDef cons,
@NotNull
@NotNull org.aya.util.Arg<Term > type,
org.aya.util.Arg<T > x,
org.aya.util.Arg<T > xs)
destruct
@NotNull
T destruct (@NotNull
@NotNull kala.collection.immutable.ImmutableSeq<T > repr)
compareUntyped
Comparing two List
Parameters:
other - another list
comparator - a comparator that should compare the subterms between two List.
Returns:
true if they match (a term matches a pat or two terms are equivalent,
which depends on the type parameters Shaped.List and Shaped.List ), false if otherwise.