- (ilist-bind (x ... . xs) ilst xpr . xprs)syntax
This macro allows for general pattern matching of typed lists. A more featurefull solution would be to use the bindings macro
(use bindings) (seq-length-ref-tail! ilist? ilist-length (lambda (ilst item) (ilist-item item ilst)) (lambda (ilst item) (ilist-drop item ilst)))
Then you can use bind and friends and freely mix typed lists with other sequence types.