Skip to content

Commit

Permalink
docs(readme): fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tueda authored and jodavies committed Dec 10, 2024
1 parent f4c4f77 commit 998888d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ Print;
.end
```

and yields `F = 34 + 55*x`.
and yields `E = 34 + 55*x`.

The following FORM program matches the function `f` that has any arguments before encountering an `x` and any arguments after, and switches them around:

```form
CFunction f;
Symbol x;
Local E = f(1,2,x,3,4);
Expand All @@ -37,7 +38,7 @@ Print;
.end
```

and yields `F = f(3,4,1,2)`.
and yields `E = f(3,4,1,2)`.

FORM can match many more complicated patterns and has many more features, as documented in the [additional information](#additional-information).

Expand Down

0 comments on commit 998888d

Please sign in to comment.