From 489899b8bee4eda52cd4d86f8196e12a7ed3aceb Mon Sep 17 00:00:00 2001 From: Matan Bendix Shenhav Date: Sun, 13 Aug 2017 13:49:35 +0300 Subject: [PATCH] Debugged Pill 5 broken tag, added section title to first section. --- pills/05-functions-and-imports.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pills/05-functions-and-imports.xml b/pills/05-functions-and-imports.xml index 0cb59c7..3418b58 100644 --- a/pills/05-functions-and-imports.xml +++ b/pills/05-functions-and-imports.xml @@ -6,7 +6,7 @@ xml:id="functions-and-imports"> functions and imports
- + Functions Welcome to the fifth Nix pill. In the previous fourth pill we touched the @@ -95,7 +95,7 @@ xml:id="functions-and-imports"> We defined a function that takes the parameter a, the body returns another function. This other function takes a - parameter b and returns a*b. + parameter b and returns a*b. Therefore, calling mul 3 returns this kind of function: b: 3*b. In turn, we call the returned function with 4, and get the expected result.