Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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`.

Expand Down