def alike.go
import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedForkimport Base
207# The finding about an expression at `span` that holds the calls at `spans` (last first), if they are two or more.
208def alike.go(texts: List<&2, String>, +first: String, ok: Bool) -> Bool:
209 match texts ok:
210 case _ False{}:
211 False{}
212 case Nil{} True{}:
213 True{}
214 case Con{t, rest} True{}:
215 alike.go(rest, first, String.eq(t, first))