Commit Graph

43189 Commits

Author SHA1 Message Date
Suzanne Soy
32ddaecd6f Simplified template-metafunction-accessor 2021-06-06 03:11:42 +01:00
Suzanne Soy
c4c7ddc6ed Remove the (protect) around export of template-metafunction etc. 2021-06-06 03:11:22 +01:00
Suzanne Soy
7170b127fb Applied some remarks from the PR reviewers :) and added more prose 2021-06-06 03:07:42 +01:00
Alex Knauth
dc8a63c351 update version in history annotation 2021-06-06 02:54:52 +01:00
Georges Dupéron
5532cbb99f Fixed TODO in prop:template-metafunction error message 2021-06-06 02:37:58 +01:00
Georges Dupéron
4b20298d7b Add a test for define-template-metafunction 2021-06-06 02:37:58 +01:00
Georges Dupéron
fa6bd5cbba Good practice: propagate srclocs and stxprops in example 2021-06-06 02:37:58 +01:00
AlexKnauth
ad97ade071 allow prop:template-metafunction value to be a function 2021-06-06 02:37:58 +01:00
AlexKnauth
b25cf850fa provide prop:template-metafunction and template-metafunction?
from syntax/parse/experimental/template
2021-06-06 02:37:58 +01:00
AlexKnauth
057bcab015 rename metafunction -> template-metafunction 2021-06-06 02:37:57 +01:00
AlexKnauth
121a45f7ed don't provide template-metafunction-accessor 2021-06-06 02:36:57 +01:00
AlexKnauth
b11c3409a6 fix history annotation in documentation 2021-06-06 02:36:57 +01:00
Georges Dupéron
f6eee5eb33 Implements and provides prop:template-metafunction 2021-06-06 02:36:56 +01:00
Matthew Flatt
cb959879de cs: repair application of parameter guard as an applicable struct
Closes #3865
2021-06-03 16:57:38 -06:00
Matthew Flatt
f31c7172c5 io: fix typo
Introduced in the previous commit.
2021-06-01 17:10:00 -06:00
Matthew Flatt
4e89fc638f cs & io: fix rktio_shell_execute binding to cooperate with the FFI
ShellExecute can dispatch Windows events, which means that it needs to
be called in a way that's consistent with the environment expected by
event-handling callbacks.

Relevant to #3832
2021-06-01 15:49:29 -06:00
Stephen Chang
d8d9255c2a hash fns: use bad-pos raise-argument-error arg 2021-06-01 16:49:07 -04:00
Matthew Flatt
9736595c7b cs: avoid promoting unknown OS thread to known
Related to changes in 18a95c3ae6, but shouldn't affect the problem
that commit addressed, since Racket-level callbacks need to be
involved.
2021-06-01 10:46:47 -06:00
Matthias Felleisen
a531efe0d5
Update textual.scrbl
`codeblock` draws a line on the left, which we don't want for comparisons (save space).
2021-05-31 14:58:10 -04:00
Jason Hemann
aff9bd1ca5 Copyediting correcting unwanted possessive
The text was either unnecessarily making 'identifier' possessive or perhaps missing the following word. I rewrite around the issue.
2021-05-30 16:55:13 -04:00
Jason Hemann
27aa6bbff9 Adding a preposition 2021-05-30 16:55:13 -04:00
Jason Hemann
e66f913ae2 Rephrasing namespace additional scope
This rewrite writes around a possible misinterpretation. This version hopes to distinguish between the necessary conditions to add the namespace scope and the details about where it's added.
2021-05-30 16:55:13 -04:00
Jason Hemann
14c07a5923 Replacing incorrect article, avoiding punning
The prior version says "the top-level form", but it is not obvious which top-level form the reference means to single out. I also replace 'result' with 'consequence' to avoid punning a technical term with non-technical English language use.
2021-05-30 16:55:13 -04:00
Jason Hemann
dc5be5da86 singular/plural instance, clarifying
I believe this resolves a singular/plural mismatch. In resolving it, I had to try and express which particular absent binding we are remarking on.
2021-05-30 16:55:13 -04:00
Jason Hemann
68c2d8afba transpose 'that', 'at'. 2021-05-30 16:55:13 -04:00
Jason Hemann
e13f68f332 'body' v. 'body definition' of a begin-for-syntax
As written the prose describes a 'body definition'; I can't find that phrase used elsewhere. I suspect it may be an artifact of an earlier rewrite. If correct as written, that term wants a definition or a pointer.
2021-05-30 11:05:47 -04:00
Jason Hemann
88df50de02 'an' -> 'and' 2021-05-30 11:05:47 -04:00
Jason Hemann
b8c87427f6 Adding missing preposition 'to' 2021-05-30 11:05:47 -04:00
Jason Hemann
71290361c4 Trying to clarify it's the sum of the two
"if the number of surrounding @racket[begin-for-syntax] forms and the number of surrounding @racket[define-syntaxes] forms sum to @math{N}---" would probably be unambiguous, but this sentence is already long as it is.
2021-05-30 11:05:47 -04:00
Jason Hemann
db88dc54f8 correcting singular/plural disagreement 2021-05-30 11:05:47 -04:00
Jason Hemann
fb41f32811 Expanding on "deeper" viz phase level
I think some readers may find "deeper" unclear, so I add a parenthetical.
2021-05-30 11:01:41 -04:00
Jason Hemann
5f639f79a0 Adding a missing article 'the' 2021-05-30 09:48:20 -04:00
Jason Hemann
c3ca91a321 another small singular plural disagreement 2021-05-30 09:48:20 -04:00
Jason Hemann
ac38ae67b8 singular/plural disagreement
I believe this should be sub-expression*s* or if not, "a sub-expression".
2021-05-30 08:55:49 -04:00
Jason Hemann
9fcb058542 Rephrasing distinction between variable and object
I found the text as written slightly misleading. The phrase "referenced by a value" intends to describe a state of being; generally, a value *is* a reference. One might misinterpret this English phrase, though, as describing an action that can occur: "reference" being an action that a value can perform, like "walk", "jump", or "skip". Further, because objects aren't limited to holding merely those data that some variable references, I thought it improved reading to remove that qualification.
2021-05-30 06:43:18 -05:00
Jason Hemann
839b7f78f8 Cleaning causality in rejected alternative application
I imagine a reader misunderstanding the causal relationship in the sentence as currently written. I hope for this to disambiguate. I believe this point in the document describes a design decision we the reader are presently considering. The reader should not imagine that an existing capacity to change `x` itself materially /prevents/ substitution---that we cannot substitute---the way a buoy's ability to float prevents it from sinking. I believe the writer means to say that the intended goal, supporting mutation, makes us (the author + the reader) reject direct substitution as an evaluation strategy.
2021-05-30 06:41:30 -05:00
minor-change
46d3ea2bb8 Fix typos 2021-05-30 06:39:54 -05:00
Jason Hemann
a4fc98629b
s/instence/instance/g (#3858)
Correcting a misspelling of 'instance' in some example code.
2021-05-30 06:39:11 -05:00
Thorsten Blum
9bae0e88af
Update dirs-catalog.scrbl
Fix typo
2021-05-29 09:47:09 -05:00
Matthew Flatt
d4dc2683aa cs & regexp: report unmatched )
Closes #3854
2021-05-29 07:27:07 -05:00
Matthew Flatt
c7eb001be3 cs configure: avoid unneecssary copies of asan and ubsan flags 2021-05-28 06:59:38 -05:00
Robby Findler
bf768e1093 actually make parameter/c use impersonate-procedure and not just chaperone-procedure
fixes 114a4f89a1

closes #3852
2021-05-27 18:42:15 -05:00
Robby Findler
114a4f89a1 make parameter/c return impersonator contracts by default (but have an option to
return chaperones if the arguments are chaperones)

possibly related to racket/racket#3852
2021-05-27 10:13:22 -05:00
Robby Findler
a7a1f526a1 adjust parameter/c to use chaperone-procedure and fix a performance bug in contract-stronger
closes #3840
2021-05-25 07:56:46 -05:00
Sam Tobin-Hochstadt
b6b1ffec03 Increase timeouts. 2021-05-24 15:25:09 -04:00
Matthew Flatt
095937b324 raco pkg remove: check for all named packages before removing any
Closes #3846
2021-05-24 09:44:47 -06:00
Tony Garnock-Jones
4be7220703
Switch away from defunct botbot.me to our community page for IRC links (#3845) 2021-05-24 09:37:45 +02:00
Matthew Flatt
18a95c3ae6 cs: fix glib logging from a foreign thread
When a glib message is logged in an OS thread not created by Racket,
then the current-future and async-callback-queue thread-local
variables were not initialized. The failure mode tended to be an
unending and memory-consuming cycle of triggering an error while
attempting to report an error.

Although there was a test for proper handling of logging calls from
foreign threads, the test previously created the "foreign" thread with
`call-in-os-thread`, which is not foreign enough.

Related to #3832
2021-05-23 10:01:39 -06:00
Matthew Flatt
5f63632f8a ffi/unsafe/custodian: add success callback to receive unregister function
Also, correct some information in the documentation of
`register-custodian-shutdown`.

Closes #3841
2021-05-23 10:01:39 -06:00
Ryan Culpepper
64f0c8a7ed db: fix sqlite3 custodian/finalizer registration
See racket/racket#3841.
2021-05-23 03:46:40 +02:00