Matthew Flatt
cfb2a7aa32
in-directory: sort entries
...
Make `in-directory` more like `directory-list` by sorting
directory content.
2016-09-15 06:11:30 -06:00
Jay McCarthy
903afe2240
Merge pull request #1460 from jbclements/add-xml-attribute-encode
...
add xml-attribute-encode function
2016-09-14 21:17:55 -04:00
John Clements
38622ce276
docs for xml-attribute-encode
2016-09-14 10:39:56 -07:00
John Clements
63d0f79847
add xml-attribute-encode function
2016-09-14 09:34:27 -07:00
Alex Knauth
62f5b2c4e4
syntax/srcloc: disarm and rearm when rebuilding syntax ( #1448 )
2016-09-12 18:08:57 -04:00
Ryan Culpepper
fd4ce5afe4
add more codes to lookup-errno, relax contract ( #1433 )
...
lookup-errno now returns #f when given an unknown symbol instead
of raising a contract error. It should not return #f for any
symbol that it previously accepted.
2016-09-12 18:07:44 -04:00
Alexis King
6e6056b9b8
Propagate srcloc information in wrap-expr/c from syntax/contract ( #1418 )
2016-09-12 18:06:57 -04:00
Robby Findler
a01cf359eb
bring line lengths down below recommended widths
2016-09-08 21:45:50 -05:00
Matthew Flatt
ce6b9d5931
fix chaperone-of?
on bytecode-unmashaled hash tables
...
Closes #1456
2016-09-08 20:23:07 -06:00
Asumu Takikawa
558fccce98
Add some examples for the JSON docs
2016-09-07 22:46:38 -07:00
Alex Knauth
1952bc4ede
fix typo in the syntax-arm docs ( #1447 )
2016-09-07 14:27:35 -04:00
Sam Tobin-Hochstadt
94dbcb12dc
Make sql-null?
a struct predicate. ( #1450 )
...
This allows Typed Racket to know that it's pure and safe to use
as an opaque value.
2016-09-07 10:57:10 -04:00
Andrew Kent
42f4784735
add vector-sort to racket/vector ( #1398 )
...
* add vector interface to private/sort.rkt
2016-09-06 17:07:20 -04:00
AlexKnauth
95e8ade091
procedure-rename: don't convert procs into methods or methods into procs
2016-09-05 11:30:27 -05:00
Jay McCarthy
5b1658c6b4
Merge pull request #1446 from AlexKnauth/cdot-left-assoc
...
make cdot reader left associative
2016-09-01 20:40:56 -04:00
AlexKnauth
17db8e57f0
update read-cdot documentation
2016-09-01 16:28:06 -04:00
Matthew Flatt
cd44e78211
fix dynamic-require
on certain forms of re-export from #%kernel
...
Closes #1445
2016-09-01 09:19:11 -06:00
AlexKnauth
f1906d572f
add tests for read-cdot option
2016-09-01 09:17:55 -04:00
AlexKnauth
d648c8cc42
make read-cdot group datums from left-to-right
...
so that X.Y.Z is read as (#%dot (#%dot X Y) Z)
2016-09-01 09:17:29 -04:00
Ben Greenman
5708526055
add index for 'chmod'
2016-08-30 17:55:38 -04:00
Sam Tobin-Hochstadt
4cc1503d15
Increase timeout.
2016-08-30 17:09:55 -04:00
Stephen Chang
1ddb4d025c
doc typo: nonnegative-exact -> exact-nonnegative
2016-08-30 13:34:22 -04:00
Matthew Flatt
6444d078eb
fix validation of known structure mutators
...
Specifically, fix the case where the structure type for the mutator
includes "auto" fields (with no corresponding constructor argument).
2016-08-29 19:09:37 -06:00
Robby Findler
f878afb82b
misc minor improvments to unconstrained-domain->
...
- add an optimization based on procedure-result-arity
- make it generate less code
- fix a few bugs
2016-08-29 12:36:50 -05:00
Robby Findler
56c97474b0
rename a variable to clarify its use
2016-08-29 12:36:49 -05:00
Jay McCarthy
34ad1cec3f
Error rather than return weird #%dot
2016-08-29 11:12:15 -04:00
Jay McCarthy
c1242fa52a
Fix handling of dots at end, maybe should be an error. Closes PR1439
2016-08-29 08:11:13 -04:00
Jay McCarthy
a5ecc5c92e
Allow concurrent execution of these tests, thanks for the catch Sam
2016-08-29 07:56:41 -04:00
Stephen De Gabrielle
5ef5a4f3cf
struct is preferred
...
changed 'make-struct' to struct
2016-08-25 10:37:06 -05:00
Vincent St-Amour
00f0311473
setup-plt -> raco setup
...
Survived unnoticed for 6+ years.
2016-08-24 15:33:07 -05:00
Robby Findler
6983adc31d
fix box/c-as-expression
...
closes PR 15341
2016-08-24 14:30:44 -05:00
Andrew Kent
753d97335c
add location info to the match error msg ( #1430 )
2016-08-24 13:51:23 -04:00
Robby Findler
2e5b4a6515
adjust tests for (->i () (values)) fix
2016-08-23 14:31:36 -05:00
Brian Lachance
07718022b4
Support an empty (values) range in ->i
2016-08-23 14:31:36 -05:00
Ryan Culpepper
471f37158a
syntax/parse: allow pattern expanders to produce EH patterns
...
fixes #1427
2016-08-22 19:47:41 -04:00
Matthew Flatt
a5f0e6dcfc
identifier-binding: add mode to report top-level binding info
2016-08-22 08:54:34 -06:00
Matthew Flatt
5f9576cb22
fix space-safety in compiler
...
The `if` case of the compiler's space-safety pass abused its "last
non-tail call relative to the closest enclosing binding" state as
"last non-tail call relative to the enclosing run time", which could
cause it to not clear a stack position as needed to maintain space
safety.
2016-08-22 06:50:15 -06:00
Gustavo Massaccesi
d4158c2b04
JIT: Allow the jitter to reverse the arguments of string=?
2016-08-19 20:05:37 -03:00
Sam Tobin-Hochstadt
6cad51189d
Increase timeout for url-port test.
2016-08-19 10:30:39 -04:00
Robby Findler
0c03952ca7
fix test cases
2016-08-19 09:17:47 -05:00
Alex Knauth
42dcc525b1
add lang-reader-module-paths to factor out copy-pasted code ( #1347 )
...
* add lang-reader-module-paths to syntax/module-reader
to be used as the third argument to make-meta-reader in lang-extensions
like at-exp
* document lang-reader-module-paths
* use lang-reader-module-paths in at-exp
2016-08-19 07:42:59 -06:00
Leif Andersen
9df2c3292e
Make relative directory argument for resolve-module-path-* have a def… ( #1326 )
...
* Make relative directory argument for resolve-module-path-* have a default to #f
The resolve-module-path-* functions effectively already had a default argument,
which is #f, this allows you to just directly call it with one argument.
* Add tests for resolve-module-path-* with optional argument
2016-08-19 07:15:11 -06:00
Sam Tobin-Hochstadt
eec3684dbd
Add recompile
option to raco demod
. ( #1373 )
...
Originally by @bdj in racket/compiler#7 .
2016-08-19 07:09:49 -06:00
Matthew Flatt
c3355f6df2
remove spaces around em dashes
2016-08-19 07:05:47 -06:00
Matthew Butterick
aef8f3e7bd
clarify role of empty stop-ids
list in local-expand
( #1335 )
2016-08-19 07:03:54 -06:00
Matthew Butterick
88292a6e13
add a more concise example of patching a phase mismatch ( #1331 )
...
* add a more concise example of patching a phase mismatch
* Update phases.scrbl
Clarifications
2016-08-19 07:03:43 -06:00
Matthew Butterick
787915155f
add example of negative phase level ( #1330 )
...
* add example of negative phase level
* Update proc-macros.scrbl
Remove `eval:error`
* correct dashes
2016-08-19 07:03:19 -06:00
William J. Bowman
998bfba4c4
skip-installed from all scopes, not current ( #1361 )
...
closes issue #1115
2016-08-19 06:56:12 -06:00
gus-massa
70adb6a502
Fix typo in string-ci=? docs ( #1424 )
...
After case-folding the strings, they are compared with equal? instead of eqv?
2016-08-19 06:33:45 -06:00
Matthew Butterick
9f7a0af3e5
update #lang tutorial to use reader submodule ( #1409 )
2016-08-19 06:33:36 -06:00