From b27767e477608060587bc1d272ddaa3c21b9996d Mon Sep 17 00:00:00 2001 From: Adam Nieto Date: Sun, 2 Apr 2017 10:53:15 -0400 Subject: [PATCH 1/2] Update README.md Missing word "to" in "we need define". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 449a746..d38c90f 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Your prompt will change and you're now working in a place that has the magic of Question & Answer ---- -Unlike most programming systems, with relational programming we can actually ask the computer questions. But before we ask the computer questions, we need define some facts! The first thing we want the computer to know about is that there are men: +Unlike most programming systems, with relational programming we can actually ask the computer questions. But before we ask the computer questions, we need to define some facts! The first thing we want the computer to know about is that there are men: ```clj tut1=> (db-rel man x) From 30478f2d99f29548e252029295e6ca49122dd5e4 Mon Sep 17 00:00:00 2001 From: Adam Nieto Date: Sun, 2 Apr 2017 11:04:25 -0400 Subject: [PATCH 2/2] Update README.md Add missing word "an" in "final parameter be output variable". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d38c90f..6eca4f5 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ user=> (in-ns 'logic-tutorial.tut2) nil ``` -Relational functions are written quite differently than their functional counterparts. Instead of return value, we usually make the final parameter be output variable that we'll unify the answer to. This makes it easier to compose relations together. This also means that relational programs in general look quite different from functional programs. +Relational functions are written quite differently than their functional counterparts. Instead of return value, we usually make the final parameter be an output variable that we'll unify the answer to. This makes it easier to compose relations together. This also means that relational programs in general look quite different from functional programs. Open `src/logic-tutorial/tut2.clj`. You'll find the definition for `appendo`.