عجفت الغور

org-noweb

org-mode

  • noweb can insert direct results of blocks

(concat (mapconcat (lambda (n)
                     (format "MonthlyHoursOfSunshine(city: \"Montevideo\", month: %d, hoursOfSunshine: %d),"
                             n (random 100)))
                   (number-sequence 1 20) "\n")
        "\n"
        (mapconcat (lambda (n)
                     (format "MonthlyHoursOfSunshine(city: \"NYC\", month: %d, hoursOfSunshine: %d),"
                             n (random 100)))
                   (number-sequence 1 20) "\n"))