map   xtlang


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

Implementation

;; this map is NOT tail optimized
(bind-func map:[List{!a}*,[!a,!b]*,List{!b}*]*
  (lambda (func xs)
    (let ((f (lambda (l)
               (if (null? l)
                   null
                   (cons (func (car l)) (f (cdr l)))))))
      (f xs))))


Back to Index

Similar Entries

  • BTree_map    xtlang
  • astra_bitmapmask_t    xtlang
  • bitmap_from_window    xtlang
  • create_heatmap_shader    xtlang
  • flatmap    xtlang
  • flatmap    xtlang
  • flatmap    xtlang
  • flatmap    xtlang
  • flatmap    xtlang
  • flatmap    xtlang
  • fmap    xtlang
  • fmap    xtlang
  • fmap    xtlang
  • fmap    xtlang
  • fmap    xtlang
  • fmap    xtlang
  • init_env_map    xtlang
  • ipc:map    scheme
  • ipc:mapcall    scheme
  • ipc:proc-name-with-mapping    scheme
  • ipc:set-local-remote-mapping    scheme
  • map    scheme
  • map    xtlang
  • map    xtlang
  • map_t    xtlang
  • map_test    xtlang
  • map_test2    xtlang
  • pmap    xtlang
  • pmap_test    xtlang
  • pmap_test2    xtlang
  • rmap    macro
  • rmap-loop-runner    macro
  • rmap_helper    scheme
  • rmap_helper_lst_sym_transform    scheme
  • shader_update_envmap    xtlang
  • smap    xtlang
  • smap    xtlang
  • xtm_envmap_as_skybox    xtlang
  • xtm_envmap_init    xtlang
  • xtm_envmap_weight    xtlang