filter   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func filter:[List{!a}*,[bool,!a]*,List{!a}*]*
  (lambda (pred xs)
    (let ((f (lambda (l)
               (if (null? l)
                   null
                   (if (pred (car l))
                       (cons (car l) (f (cdr l)))
                       (f (cdr l)))))))
      (f xs))))


Back to Index

Similar Entries

  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_RES    scheme
  • PARAM_FILTER_RES    scheme
  • cerberus_filter_cc    xtlang
  • cerberus_filter_env_cc    xtlang
  • cerberus_get_filtertype    xtlang
  • cpShapeFilterNew    xtlang
  • dl_filter1_frq    xtlang
  • dl_filter1_frq    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter1_res    xtlang
  • dl_filter1_res    xtlang
  • dl_filter1_type    xtlang
  • dl_filter1_type    xtlang
  • dl_filter2_frq    xtlang
  • dl_filter2_frq    xtlang
  • dl_filter2_frq_scale    xtlang
  • dl_filter2_frq_scale    xtlang
  • dl_filter2_res    xtlang
  • dl_filter2_res    xtlang
  • dl_filter2_type    xtlang
  • dl_filter2_type    xtlang
  • filter    scheme
  • filter    scheme
  • filter_cc    xtlang
  • filter_env_cc    xtlang
  • filter_input    xtlang
  • filter_inputs    xtlang
  • filter_lwork    xtlang
  • filter_output    xtlang
  • filter_outputs    xtlang
  • filter_prework    xtlang
  • filter_rate    xtlang
  • filter_work    xtlang
  • get_filter_env    xtlang
  • get_filtertype    xtlang
  • set_dl_filter    xtlang
  • set_filter    xtlang
  • set_filter_env    xtlang
  • shader_setup_convolution_filter    xtlang