~ioiojo/kiwi

c8d9245b129dee56c5b82cb08e2e3ea536cbcc6b — Andy Weidenbaum 2 years ago 2ac88c7
lint comments
M tests/data/complex/cfg/pantry/init.kiwi => tests/data/complex/cfg/pantry/init.kiwi +11 -11
@@ 47,7 47,7 @@
  {:serving-size [100 :g]
   :protein 22.9
   :carbs 34.6
   ; insoluble fiber estimated from scientific publication [24]
   ;; insoluble fiber estimated from scientific publication [24]
   :fiber [34.4 0.95]
   :fat 33.9
   :source (. cite 2)})


@@ 123,21 123,21 @@
   :carbs 60
   :fat 5})

; 12g of umami seasoning contains:
; - 5g of {the average of crimini-mushroom and porcini-mushroom}
; - the average of {1 tbsp of black-pepper
;                   1 tbsp of crushed-red-pepper
;                   1 tbsp of dried-thyme
;                   1 tbsp of mustard-powder
;                   1 tbsp of onion-powder} (with different weights)
; - salt
;; 12g of umami seasoning contains:
;; - 5g of {the average of crimini-mushroom and porcini-mushroom}
;; - the average of {1 tbsp of black-pepper
;;                   1 tbsp of crushed-red-pepper
;;                   1 tbsp of dried-thyme
;;                   1 tbsp of mustard-powder
;;                   1 tbsp of onion-powder} (with different weights)
;; - salt
(let [crimini-porcini-mushroom (food [crimini-mushroom porcini-mushroom])]
  (food umami-seasoning-blend
    "Trader Joe's - Mushroom & Co - Umami Seasoning Blend"
    {:serving-size [12 :g]
     :source "portland product label"}
    {crimini-porcini-mushroom 0.05}
    ; 3 parts black-pepper to 2 parts crushed-red-pepper etc
    ;; 3 parts black-pepper to 2 parts crushed-red-pepper etc
    [{spices.black-pepper [1 :tbsp]} 3
     {spices.crushed-red-pepper [1 :tbsp]} 2
     {spices.dried-thyme [1 :tbsp]} 2


@@ 146,7 146,7 @@

(food umibudo-sea-grape
  "Algae, green caviar, raw."
  {:aka [; the philippines
  {:aka [;; the philippines
         "latok-sea-grape"
         "海ぶどう"]
   :serving-size [100 :g]

M tests/data/complex/dir/diet.kiwi => tests/data/complex/dir/diet.kiwi +1 -1
@@ 3,7 3,7 @@
(diet M
  {require {: pantry}})

; batch cooking example
;; batch cooking example
(let [freekeh-and-lentils-vegetable-medley
       (food {pantry.sabut-masoor 4.99
              pantry.branded.eumarrah.whole-freekeh 1.98

M tests/data/mock/scripts/umibudo.fnl => tests/data/mock/scripts/umibudo.fnl +1 -1
@@ 2,7 2,7 @@

(local umibudo-sea-grape
  (food.new "Algae, green caviar, raw."
    {:aka [; the philippines
    {:aka [;; the philippines
           "latok-sea-grape"
           "海ぶどう"]
     :serving-size [100 :g]