Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
christofsteel authored Feb 2, 2024
1 parent 21f8fb4 commit 511d017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ A query can only be specified by an intersection type, but a combinator can be s
**Parameterized types** add quantifiers and predicates in front of an intersection type and allow for literal variables inside the intersection type.
Usage is best explained in an example:

DSL().Use('x', 'int').Use('y', int).With(lambda x, y: x > y).In(LVar('x') ** LVar('y'))
DSL().Use('x', 'int').Use('y', 'int').With(lambda x, y: x > y).In(LVar('x') ** LVar('y'))

This corresponds to each type in the form x → y where x and y are numbers and x > y.

Expand Down

0 comments on commit 511d017

Please sign in to comment.