Skip to content

Use predicate faux type - #87

Open
aartaka wants to merge 1 commit into
schemeorg-community:masterfrom
aartaka:use-predicate-faux-type
Open

Use predicate faux type#87
aartaka wants to merge 1 commit into
schemeorg-community:masterfrom
aartaka:use-predicate-faux-type

Conversation

@aartaka

@aartaka aartaka commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

There most likely are errors, but the work is significant enough to afford a couple of typos.

One significant problem with this patch is that it removes a bit of type information by switching to predicate type. In particular, string-related predicates often have a (lambda ((char? c)) boolean?) signature, which tells slightly more than a raw predicate. However, uniformity is more important that an obvious type omission.

@arvyy how does it look?

There most likely are errors, but the work is significant enough to
afford a couple of typos.

One significant problem with this patch is that it removes a bit of
type information by switching to “predicate” type. In particular,
string-related predicates often have a “(lambda ((char? c)) boolean?)”
signature, which tells slightly more than a raw “predicate”
type. However, uniformity is more important that an obvious type
omission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant