rmap_helper_lst_sym_transform   scheme


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

Implementation

;; this function is for mananing symbols inside a pattern _ for rest etc..
(define rmap_helper_lst_sym_transform
  (lambda (lst)
    (if (atom? lst) (set! lst (list lst)))
    (if (and (= (length lst) 1) (null? (car lst))) (set! lst `(_)))
    (apply append '()
           (map (lambda (elt next)
                  (cond ((and (vector? elt) (symbol? next))
                         (list elt))
                        ((list? elt)
                         (if (= (length elt) 1)
                             elt
                             (list elt)))
                        (else (list elt))))
                lst
                (append (cdr lst) '(0))))))


Back to Index

Similar Entries

  • Symbol    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • Symbol    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • Symbol_free    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • aiProcess_PreTransformVertices    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • aiProcess_TransformUVCoords    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • callback-test2-helper    xtlang    /digego/extempore/tree/v0.8.9/tests/core/xtlang.xtm
  • cpTransformAxialScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformBB    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformBoneScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformInverse    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformMult    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformNew    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformNewTranspose    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformOrtho    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformPoint    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformRigid    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformRigidInverse    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformRotate    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformScale    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformTranslate    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformVect    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformWrap    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • cpTransformWrapInverse    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libchipmunk/cpTransform.xtm
  • global_transform2d    xtlang    /digego/extempore/tree/v0.8.9/examples/core/godot_test1.xtm
  • glwrapper-arg-list-symbols    scheme    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-getprocaddress.xtm
  • glwrapper-arg-list-symbols    scheme    /digego/extempore/tree/v0.8.9/libs/external/gl/glcore-glew.xtm
  • godot_variant_new_transform    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_transform2d    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • impc:ti:block:check-for-free-syms    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:first-transform    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:gather-all-gvars-helper    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-arg-symbols    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:sym-unify    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:symbol-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • match-symbol    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • print-str-sym    xtlang    /digego/extempore/tree/v0.8.9/tests/core/constraints.xtm
  • rmap    macro    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • rmap-loop-runner    macro    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • rmap_helper    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • update-fluid-sym-state    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/kinect_fire.xtm