def at_least_two
import bend-collections@1.0.0.0/src/containers/internal/intrusive_list.bend as IntrusiveListimport Base
131def at_least_two(~S: Type, ~N: Data, ~H: Data, ~get_head: S -> H -> S & Maybe<&2, N>, ~next: S -> N -> S & Maybe<&2, N>, s: S, +h: H) -> S & Bool:
132 at_least_two_1(~S, ~N, ~H, ~get_head, ~next, get_head(s, h))