all-same? ( seq quot: ( elt -- obj/f ) -- ? )


Vocabulary
sequences.extras

Inputs
seqan object
quota quotation with stack effect ( elt -- obj/f )


Outputs
?an object


Definition


:: all-same? ( seq quot: ( elt -- obj/f ) -- ? )
seq
[ t ] [ unclip-slice quot call '[ quot call _ = ] all? ]
if-empty ; inline