(Arne Babenhauserheide)
2016-11-29: fix map-product-sums: must import after defining the module fix map-product-sums: must import after defining the module
diff --git a/examples/map-product-sums.w b/examples/map-product-sums.w old mode 100644 new mode 100755 --- a/examples/map-product-sums.w +++ b/examples/map-product-sums.w @@ -2,9 +2,9 @@ exec guile -L $(dirname $(dirname $(realpath "$0"))) --language=wisp -e '(@@ (examples map-product-sums) main)' -s "$0" "$@" ; !# -use-modules : (srfi srfi-42) +define-module : examples map-product-sums -define-module : examples map-product-sums +use-modules : srfi srfi-42 define : list-product-sums list-of-numbers . "return a list with the sum of the products of each number with all other numbers.