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,!c]*,List{!b}*,List{!c}*]*
  (lambda (func xs1 xs2)
    (let ((f (lambda (l1 l2)
               (if (null? l1)
                   null
                   (cons (func (car l1) (car l2))
                         (f (cdr l1) (cdr l2)))))))
      (f xs1 xs2))))


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