function filter( src, list ) { // TODO: replace with a `@stdlib/array/base/*` utility performing the equivalent set operation
	var out;
	var M;
	var N;
	var v;
	var i;
	var j;

	M = src.length;
	N = list.length;

	out = [];
	for ( i = 0; i < M; i++ ) {
		v = src[ i ];
		for ( j = 0; j < N; j++ ) {
			if ( v === list[ j ] ) {
				break;
			}
		}
		if ( j === N ) {
			out.push( v );
		}
	}
	return out;
}
Removes a list of elements from a provided list.

@private
@param {ArrayLikeObject} src - list to filter
@param {ArrayLikeObject} list - items to remove
@returns {ArrayLikeObject} filtered list

@example
var src = [ 'a', 'b', 'c', 'd' ];
var list = [ 'b', 'd' ];

var out = filter( src, list );
// returns [ 'a', 'c' ]