{"size": 849, "ext": "scrbl", "max_stars_repo_path": "doc/utils/vector.scrbl", "max_stars_repo_name": "christoff-buerger/sagittarius-scheme", "max_stars_repo_stars_event_min_datetime": "2015-11-07T07:13:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-15T03:35:14.000Z", "max_issues_repo_path": "doc/utils/vector.scrbl", "max_issues_repo_name": "christoff-buerger/sagittarius-scheme", "max_issues_repo_issues_event_min_datetime": "2016-04-28T21:59:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-01T08:42:21.000Z", "max_forks_repo_path": "doc/utils/vector.scrbl", "max_forks_repo_name": "christoff-buerger/sagittarius-scheme", "max_forks_repo_forks_event_min_datetime": "2016-12-28T12:41:23.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-26T20:52:02.000Z"}
{"max_stars_count": 39, "max_issues_count": 3, "max_forks_count": 4, "avg_line_length": 35.375, "max_line_length": 79, "alphanum_fraction": 0.7361601885}
@; -*- mode:scribble; coding: utf-8; -*-

@subsection[:tag "util.vector"]{(util vector) - Extra vector utility library}

@define[Library]{@name{(util vector)}}
@desc{This library provides extra vector utility procedures which is not
provided neither @code{(srfi :43 vectors)} nor @code{(srfi :133 vectors)}.
}

@define[Function]{@name{vector-filter} @args{pred vec}}
@define[Function]{@name{vector-remove} @args{pred vec}}
@desc{Returns newly allocated vector which contains the elements from the
given @var{vec} satisfied the given @var{pref}.

The @code{vector-filter} uses the elements which @var{pred} returns true value.

The @code{vector-remove} removes the elements which @var{pred} returns
true value.
}

@define[Function]{@name{vector-find} @args{pred vec}}
@desc{Returns the element of the given @var{vec} satisfies the @var{pred}
or #f.}
