Eli Barzilay
c7173cd1c6
Improve `file' tests.
...
* Move sha1 test to the same place, to be run like the others.
* Unify tests for untar and unzip.
* Also improve them: test results instead of failing with errors. Also,
generate random text to archive, and use 0 for group+other permission
bits (to avoid world writable results on an error).
2013-02-24 15:16:00 -05:00
Robby Findler
18c009276d
fix up tests to reflect the module-lexer now behaves a little
...
better wrt to its first result
That is, instead of just returning the string "#lang" it now
returns the actual text that was there (it was supposed to be
doing that all along and my recent commit fixed it, but I
missed the test cases)
2013-02-23 15:42:43 -06:00
Eli Barzilay
cec73f5652
Newlines at EOFs scan.
2013-02-23 02:09:56 -05:00
Eric Dobson
f6df93ed96
Make mutable lists be sequences.
2013-02-22 21:01:21 -08:00
Vincent St-Amour
034d7245a4
Filters for comparisons with inifinity.
2013-02-21 10:49:57 -05:00
Vincent St-Amour
12aaa229a3
Fix subtyping for Negative-Single-Flonum.
2013-02-21 10:49:57 -05:00
Eric Dobson
18d90115e7
Make naturals be a sequence type.
2013-02-20 21:25:02 -08:00
Eric Dobson
4f9f00680e
Make (Set a) a subtype of (Sequenceof a).
...
Closes PR13485.
Closes PR12615.
2013-02-20 21:25:02 -08:00
Eric Dobson
a7bc758505
Fix subtyping of invariant data structures.
...
Closes PR13521.
2013-02-20 21:25:02 -08:00
Eric Dobson
ddb8e7f807
Add subtyping for Parameters.
...
Closes PR11992.
This required moving more stuff in to base-abbrev so that it could be
used in subtype.
2013-02-20 21:25:02 -08:00
Eric Dobson
0b87c999b3
Make struct types overlap with procedures.
...
Closes PR11971.
2013-02-20 21:25:02 -08:00
Robby Findler
5eddac7482
fix the use of impersonator-ephemerons in the framework preferences library
2013-02-20 21:13:02 -06:00
Stephen Chang
9e26cd0b7a
one more integer-set test
2013-02-20 18:34:58 -05:00
Stephen Chang
aeff5922b7
add test for integer-set:
...
- check that taking the rest of an integer-set results in a proper integer-set
2013-02-20 18:32:01 -05:00
Matthew Flatt
0afcda2a5a
fix error checking for flreal-part' and
flimag-part'
2013-02-19 16:47:39 -07:00
Matthew Flatt
ca951294d4
JIT: inline char->integer' and
integer->char'
2013-02-19 08:43:50 -07:00
Matthew Flatt
dbdfd4236f
racket/snip: fix style-list%'
notify-on-change' and contracts
...
The method uses the new `impersonator-ephemeron' function to
retain a callback as long any value that it impersonates
is reachable.
2013-02-18 17:01:11 -07:00
Matthew Flatt
79c4af4e45
racket/base: add `impersonator-ephemeron'
2013-02-18 17:01:11 -07:00
Robby Findler
85f9fbbaee
interactivity fix for online check syntax
...
commit e503850f21
broke drracket's
interactivity (for some files it could take 2 seconds to do
that one line)
This changes the bindings-table so that it maps to sets instead of
lists. Now, instead of mutating all entries in the table right after
collecting everything, just leave them as sets until we need the info
and just sort a single entry, when it is needed
2013-02-18 16:33:50 -06:00
Matthew Flatt
fdd8dc9376
JIT: fix bug in checking certain values before unboxing
...
The check was incomplete in the case that both arguments to a binary
[ext]flonum function need to be checked and the second one was not an
[ext]flonum and also not a fixnum.
2013-02-18 11:07:45 -07:00
Matthew Flatt
4271d987cd
ffi/unsafe: fix a bug in conversion to UTF-16
...
Characters outside of the BMP were translated incorrectly.
2013-02-18 10:28:58 -07:00
Eric Dobson
13b205aa0a
Fixes *-filter types and filter of zero?.
...
Closes PR13275.
2013-02-18 11:56:59 -05:00
Eric Dobson
36cc3220ea
Improve type of make-immutable-hash.
...
Closes PR13297.
2013-02-18 11:56:58 -05:00
Eric Dobson
7d6888f229
Improve types for exit and in-naturals.
2013-02-18 11:56:57 -05:00
Eric Dobson
7e88895bd0
Add testcases for many already fixed bugs.
...
Closes PR11901.
Closes PR11972.
Closes PR12022.
Closes PR12224.
Closes PR12506.
Closes PR12533.
Closes PR12596.
Closes PR13198.
Closes PR13418.
Already fixed bugs, with existing testcases.
Closes PR12529.
Closes PR12631.
Closes PR13127.
Closes PR13128.
Closes PR12970.
2013-02-18 11:56:55 -05:00
Robby Findler
dbb1d8f360
adjust scribble lexer so its failures print to stderr, not stdout
2013-02-16 19:55:18 -06:00
Robby Findler
5c109946c2
add support to struct/dc to name the selector directly
...
and use that in struct/c
closes PR 13054
closes PR 13461
related to PR 13050
2013-02-16 17:24:11 -06:00
Ryan Culpepper
44e26d493d
try to make tmp file path shorter (for drdr)
2013-02-16 15:18:55 -05:00
Matthew Flatt
9b04aef0f8
fix a problem with `syntax-local-lift-require' at top level
...
The problem was exposed by improved error checking
in the expander to detect references to exports of a module that
is not yet visited, and as triggered by the documentation for
`2htdp/planetcute'.
2013-02-16 09:29:16 -07:00
Matthew Flatt
72c39ca7ff
test fixups
2013-02-16 08:56:21 -07:00
Robby Findler
fbeecdc1aa
add gc log following info to the drr performance monitor
2013-02-16 07:39:33 -06:00
Robby Findler
1ee765c7e3
fix bad test
2013-02-16 00:09:25 -06:00
Matthew Flatt
0c37849f81
racket/gui: fix contract of set-value' in
gauge%'
2013-02-15 16:02:53 -07:00
Asumu Takikawa
9ef9330d4e
Informative error message for raco pkg remove
...
When a user tries to remove a package installed in a
different scope, notify them.
2013-02-15 15:44:31 -05:00
Michael Filonenko
840fc9c657
full unboxing for extflonums, plus `ffi/unsafe' support
...
Includes a repair for floating-point `min' and `max' that affects all
x86 builds that use SSE arithmetic, leaving the (otherwise unused)
floating-point stack in a bad state, which might have affected
x87-using C/foreign libraries running alongside Racket.
2013-02-15 12:15:34 -07:00
Robby Findler
93bf0cd663
fix 2d lexer for the case when the #2d expression
...
isn't in the leftmost column
2013-02-15 10:29:34 -06:00
Matthew Flatt
d5c1a75e38
racket/gui cocoa: fix over-eager refresh for 'gl canvas%
2013-02-14 19:47:40 -07:00
Robby Findler
30ca1f0baf
add syntax coloring for 2d syntax
2013-02-14 19:51:08 -06:00
chrdimo
26726ba26f
tests for option contracts
2013-02-14 19:55:10 -05:00
Matthew Flatt
ccabbaa36e
fix `current-subprocess-custodian-mode' for a #f argument
2013-02-14 17:30:10 -07:00
Eric Dobson
5ed26e806b
Make lists with minimum lengths be a subtype of sequences.
2013-02-14 18:24:52 -05:00
Eric Dobson
b4beabc977
Make tc-let do unions correctly.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
60959467cf
Fix optimization of unary complex - and /.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
29a181175f
Improve a number of numeric function types.
...
Closes PR13468.
2013-02-14 18:24:52 -05:00
Matthew Flatt
3cd4ee1c0d
ffi/unsafe: allow multiple values for a `(_fun ... -> _racket)' result
...
Closes PR 13496
2013-02-14 15:45:26 -07:00
Matthew Flatt
421cb24138
add `port-counts-lines?'
2013-02-14 15:45:26 -07:00
Tobias Hammer
7e2b443fa9
Support for multiple value return from wrap-evt and handle-evt
...
wrap/handle-evt that receives multiple values must have a handler function with adequate arity.
struct.c:
change contract for wrap/handle-evt from (any/c -> any) to procedure?
thread.c:
adjust sync processing
sync.rktl:
add test for handle-evt, wrap-evt and prop:evt
2013-02-14 15:45:26 -07:00
Ryan Culpepper
b3afbdd485
added unstable/socket
2013-02-14 17:19:08 -05:00
Ryan Culpepper
7a0b100ce0
tests for unstable/macro-testing
2013-02-14 17:19:08 -05:00
Matthew Flatt
294bed209e
macro expander fix
...
Repair 73e07f576b
added an item to a list without incrementing a
counter for the list length, which cause a different element of
the list to be dropped, which could mess up binding resolution in
arbitrarily bad ways.
(Ths bug falls into the "how did this not get exposed earlier?" bin,
although part of the answer is that it requires a combination of
module re-expansion and simplification of syntax objects in the
residual program.)
Closes PR 13428
2013-02-14 07:11:16 -07:00
Ryan Culpepper
fbee1ed9c7
change stxparse tests to use unstable/macro-testing
2013-02-13 16:14:49 -05:00
Matthew Flatt
c6eb82524b
fix `syntax-local-module-exports' for submodules in expand mode
2013-02-13 08:28:23 -07:00
Matthew Flatt
8c2c84f74f
fix context for `#%module-begin' form in a submodule
2013-02-13 08:28:22 -07:00
Matthew Flatt
4a0adb6a74
fix syntax-local-submodules' in
expand' mode
2013-02-13 08:28:22 -07:00
Jay McCarthy
6ae2c71ed5
Add raco show -d and showing package deps on failed remove
2013-02-13 07:47:59 -07:00
Eric Dobson
67c6d7804d
Add tests for subtyping -poly. Closes PR13510.
2013-02-12 17:07:02 -05:00
Matthew Flatt
7f5b295308
fix problem with the initial continuation prompt
...
(Got it wrong in 2f7d4b5e.)
Closes PR 13494
2013-02-12 14:17:57 -07:00
Robby Findler
8edd010bec
improve ->'s source location tracking
...
closes PR 13514
2013-02-11 20:37:15 -06:00
Vincent St-Amour
0bccf6b0b0
Forbid singleton types for integers whose type is platform-dependent.
...
Closes PR13501.
2013-02-11 14:30:19 -05:00
Jay McCarthy
2e7f4ba54a
Allowing github URLs from PNRs to use illegal package names
2013-02-11 06:10:58 -07:00
Matthew Flatt
2fc7cad446
racket/enter: fix for `enter!' related to submodules
...
The load handler didn't obey the protocol with respect to a second
argument that is a list starting with #f.
Closes PR 13096
2013-02-10 05:57:25 -07:00
Matthew Flatt
dd50ac8652
catch module-not-available mimatches earlier
2013-02-08 22:57:37 -06:00
Matthew Flatt
d73ae88220
test case for `for' repair
...
Provided by Ryan to go with a85a71984d
.
2013-02-08 22:57:37 -06:00
J. Ian Johnson
469a69772c
For/product treated like for/sum for special annotation. Also allowed no annotation to be consistent with the docs.
2013-02-08 11:32:21 -05:00
Eric Dobson
19241c0979
Make overlap more precise.
2013-02-08 11:19:10 -05:00
Eric Dobson
c2b8671169
Fix :print-type. Closes PR13503.
2013-02-08 11:19:09 -05:00
Jay McCarthy
cd202f5411
Supporting headers and stateless in web-server/test
2013-02-08 07:01:36 -07:00
Robby Findler
995d4a4704
adjust test cases for recent changes to the lexers
2013-02-07 21:25:02 -06:00
Vincent St-Amour
830db3c908
Add extra tests and warning about -PosIntNotFixnum.
2013-02-07 15:19:42 -05:00
Eric Dobson
9030da217b
Make static single flonum checks correct.
...
Closes PR13499.
2013-02-07 15:19:42 -05:00
Asumu Takikawa
9636a70f8b
Add a test for PR 13490
...
The bug itself was already fixed by Eric Dobson
2013-02-07 13:49:50 -05:00
Robby Findler
4b9d43ce00
unbreak plai random mutator tests
2013-02-07 11:16:04 -06:00
Robby Findler
bb216d142c
2d
2013-02-06 15:55:20 -06:00
Robby Findler
e7e64f4006
a better version of deac3fa2b3
...
This time with test cases, and also without changing the
semantics of unhighlight-range
related to PR 13488
2013-02-05 20:52:35 -06:00
Danny Yoo
31b66484b3
Add test case to show bug with inflate.
...
related to PR 13489.
2013-02-05 17:02:21 -07:00
Vincent St-Amour
bf2768f2c5
Allow cast in typed/racket/no-check.
2013-02-05 16:57:42 -05:00
Jay McCarthy
fb915825e9
Allowing PNR to decide which github checksum is used
2013-02-05 07:25:31 -07:00
Matthew Flatt
442f6eaaae
fix `regexp-match' variants given a long string and an output port
...
... again; commit d194fa6245
turned out to be incomplete.
2013-02-05 11:44:38 +01:00
Vincent St-Amour
b42034f98b
Exclude the right zeroes when checking for equality.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
568f401bdc
Don't special case typechecking of =.
...
Its type is more useful than the special typing rule.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
ec04467282
Add extra tests for contract generation and float zeroes.
2013-02-04 14:32:44 -05:00
Eric Dobson
e656bdb1c5
Make generated contracts for Floats include NaN.
...
Closes PR13464.
2013-02-04 14:32:44 -05:00
Robby Findler
ab55d43312
give up on the "find the close paren strategy that doesn't
...
edit the buffer" attempt
In other words, go back to (a rackety version of) the old
implementation of the get-close-paren method
2013-02-03 11:22:46 -06:00
Robby Findler
25f92f8e9e
fix a problem with the way that check syntax's interval map
...
tracks information about the program
2013-02-02 19:35:09 -06:00
Sam Tobin-Hochstadt
2e8ffe7400
Fix sequence-lift
for multiple valued sequences.
...
Also minor fixups of the rest of `unstable/sequence`.
2013-02-02 18:16:35 -05:00
Robby Findler
8aa3e1d473
another close-paren insertion repair
...
(this one causes runtime errors, not
bad behavior)
2013-02-02 09:10:17 -06:00
Matthew Flatt
0583616dd7
racket/date: change current-date', add
date*->seconds'
2013-02-01 15:00:24 -08:00
Matthew Flatt
f8c7a79b36
fix `raco link' test
2013-02-01 15:00:23 -08:00
Matthew Flatt
c0c2eda628
Scribble: add 'grouper and 'hidden-number part style properties
...
Also, clean up documentation and implementation of 'unnumbered and
'hidden.
2013-02-01 10:15:53 -08:00
Robby Findler
8aadc03719
more close paren adjustment repairs
2013-01-31 21:11:11 -06:00
Robby Findler
219f9dc358
fix close paren correction code
2013-01-31 15:07:20 -06:00
Vincent St-Amour
5efaa004f0
Fix test for invalid fixnum quotient optimization.
...
The test depended on fixnum width, which is not portable.
2013-01-29 16:15:00 -05:00
Vincent St-Amour
0bc60a77c8
Improve type of exact? and exact->inexact.
...
Adapted from a pull request by Eric Dobson.
2013-01-29 12:35:29 -05:00
Vincent St-Amour
32b3dfc528
Fix type of quotient on fixnums.
...
Closes PR13466.
2013-01-29 12:35:29 -05:00
Eric Dobson
10655a8373
Fix syntax/c. Closes PR13447.
2013-01-29 06:34:51 -06:00
Michael Filonenko
17b8092641
extflonums
...
An extflonum is like a flonum, but with 80-bit precision and
not a number in the sense of `number?': only operations such as
`extfl+' work on extflonums, and only on platforms where extflonums
can be implemented by hardware without interefering with flonums
(i.e., on platforms where SSE instructions are used for
double-precision floats).
[Patch provided by Michael Filonenko and revised by Matthew.]
The compiler tracks information about bindings that are known to
hold extflonums, but the JIT does not yet exploit this information
to unbox them (except as intermediate results).
2013-01-28 18:17:06 -07:00
chrdimo
e0a7329d86
Merge branch 'master' of pltgit:plt
2013-01-28 19:36:45 -05:00
chrdimo
5348a4d2de
fixing docs and tests for maybe/c (old option/c)
2013-01-28 16:55:33 -05:00
Eric Dobson
3c02bb1abb
Type check with expected type when checking recursive loops.
...
Closes PR12678.
2013-01-28 16:03:01 -05:00
Eric Dobson
13ff5883fe
Do not update subtype and resolve caches when subtyping.
...
Closes PR13412.
2013-01-28 15:35:56 -05:00
Robby Findler
c8bee5acf7
disable a broken responsiveness optimization
2013-01-28 10:30:46 -06:00
Sam Tobin-Hochstadt
295bb1e85e
Switch to pkg.racket-lang.org
.
2013-01-26 15:59:33 -05:00
Robby Findler
e43583c444
make sure the framework tests run with the proper environment
2013-01-26 07:49:14 -06:00
Jay McCarthy
8ce9b4eb10
Adding failing test for submodules in web-server lang
2013-01-25 07:42:05 -07:00
Jay McCarthy
74429db650
Ignoring submodules in web-server lang
2013-01-25 07:42:05 -07:00
Jay McCarthy
545009a48a
Catching contract violation error discovered by Danny Yoo
2013-01-25 07:42:05 -07:00
Matthew Flatt
9210437b3f
fix internal-definition expansion
...
The code added to handle expressions mixed with definitions was
not introduced in the right way; fix it to be like macro-introduced
code.
Closes PR 13452
2013-01-25 05:08:46 -07:00
Matthew Flatt
00362a273f
fix `string-normalize-nf[k]c' when composed is much smaller then decomposed
...
For composed normalization, space is initially allocated based on the
decomposed length. The clean up step to avoid wasted space was wrong.
2013-01-24 06:43:10 -05:00
Asumu Takikawa
14c970b490
Fix contract name of parameter/c
...
Made it more backwards compatible
2013-01-23 21:20:29 -05:00
Eric Dobson
5a43a5c730
Made tc/exprs check its non final terms with the correct type.
...
Closes PR12974.
2013-01-23 16:41:09 -05:00
Eric Dobson
05e53a0de5
Add tc-any-results as new result-type.
2013-01-23 16:41:09 -05:00
Eric Dobson
aac25b42c9
Make AnyValues but don't actually start using it yet.
2013-01-23 16:41:09 -05:00
Asumu Takikawa
4b279eaf6a
Use new parameter/c argument for contract generation
...
Closes PR 13446
2013-01-23 14:45:59 -05:00
Asumu Takikawa
3ddde6a7e9
Equip parameter/c
with separate in/out contracts
2013-01-23 14:45:59 -05:00
Ryan Culpepper
d5fe602131
added #:datum-literals, like #:literals but for ~datum patterns
2013-01-22 21:35:53 -05:00
Vincent St-Amour
193bff7a2b
Fix collatz typed benchmark for fix to odd? and even?.
2013-01-18 18:25:19 -05:00
Vincent St-Amour
091e26cde8
Fix TR optimizer tests for TR info logging.
2013-01-18 18:25:18 -05:00
Asumu Takikawa
e1b6e84089
Fix filters on odd? and even?
...
Closes PR 13233
2013-01-18 18:25:18 -05:00
Asumu Takikawa
688511aec5
Fix year day for srfi/19-produced date*s
...
srfi/19's `date-year-day` indexes from 1 and Racket
indexes from 0.
2013-01-18 15:48:11 -05:00
Matthew Flatt
48e0509381
add `file-truncate'
2013-01-18 11:03:46 -06:00
Asumu Takikawa
7e679597f1
Update srfi/19 for latest leap seconds
...
Closes PR 13390
2013-01-18 10:44:58 -05:00
Jay McCarthy
850069ec83
Adding test for lex-name change
2013-01-18 06:35:52 -07:00
Asumu Takikawa
28d46105c9
Add tests for PR 13094.
...
The bug itself was fixed already when ordinary
type variable scoping was fixed.
Closes PR 13094
2013-01-15 15:44:34 -05:00
Sam Tobin-Hochstadt
b6564980ab
Typed modules as languages doesn't currently work.
2013-01-14 14:27:33 -05:00
Asumu Takikawa
1ae216ec94
Delete trailing whitespace
2013-01-14 10:35:44 -05:00
Asumu Takikawa
8d1c56cb6f
Rackety
2013-01-14 10:35:44 -05:00
Asumu Takikawa
d406e2db57
Make srfi/19 compatible with date* structs
...
- srfi/19 functions now produce and accept date*s
- some functions produce lax-dates for backwards compat.
2013-01-14 10:35:43 -05:00
Ryan Culpepper
1109e0f86d
fix rounding in ~r, docs
...
Merge to 5.3.2.
2013-01-13 15:52:08 -05:00
Matthew Flatt
b5d874e35d
raco pkg: allow read operations on read-only package data
...
In particular, `raco pkg show' should work when the user does not
have write access to the installation directory or installation-wide
package database.
Merge to v5.3.2
2013-01-13 07:56:46 -07:00
Asumu Takikawa
2ac6615da9
Use correct parent for date* in makeexn
...
Please merge to 5.3.2
2013-01-11 21:22:20 -05:00
Matthew Flatt
5ab048bb5c
scribble/decode: fix contract on `decode-compound-paragraph'
...
Add a test suite that at least tries each export of `scribble/decode'.
Merge to v5.3.2
2013-01-09 18:52:16 -07:00
Greg Hendershott
4d3a5bad04
Use Racket lexer for code blocks.
...
Had been specifying Scheme lexer for code blocks, while waiting for
new Racket lexer to wend its way from Pygments to Pygments.rb to
Linguist to GitHub.
That day is almost here: Linguist will soon update and deploy to
GitHub. And Racket 5.3.2 is about to release. As a result, I think
this is the correct time to switch to the Racket lexer: It should be
live on GitHub by the time people are using Racket 5.3.2.
/cc @rmculpepper -- I think this commit should go into the 5.3.2
release.
2013-01-09 18:52:16 -07:00
Asumu Takikawa
c5c6280d87
Change exception predicate for a test
...
For some reason, the other predicate breaks on some
test setups, even though it usually succeeds.
Please merge to 5.3.2
2013-01-09 18:12:45 -05:00
Asumu Takikawa
f577b49a4d
Fix polydots
...
- parsing of polydots values was fixed
- certain polydots error cases are now reported
- the custom application rule for values was fixed
Closes PR 13365
Please merge to 5.3.2
2013-01-09 18:12:45 -05:00
Jay McCarthy
9d4e47a96e
Update URLs again to r-l.o domain
2013-01-09 06:31:02 -07:00
Asumu Takikawa
27d3042ad6
Use correct contract for Procedure type
...
The only problem with this contract is that it does
not produce a very good error message
2013-01-08 20:03:16 -05:00
Asumu Takikawa
9c0a611b59
Disallow duplicate type variable declarations
...
Closes PR 13416
Please merge to 5.3.2
2013-01-08 14:50:08 -05:00
Jay McCarthy
b0f3f03412
Removing exotic ports for PNRs
2013-01-08 07:42:51 -07:00
Ryan Culpepper
929f37df62
fix db test script
2013-01-07 19:52:51 -05:00
Vincent St-Amour
057a2bd0d2
Extend type of min to preserve fixnumness.
2013-01-07 17:00:32 -05:00
Robby Findler
84c0208d99
add check for number of result values in ->i (that signals blame)
...
closes PR 13417
2013-01-07 11:04:24 -06:00
Matthew Flatt
e66cd6f9c7
raco exe: yet another submodule repair
...
Closes PR 13410
2013-01-05 09:12:47 -07:00
Robby Findler
d53d3c3528
try to make this test's timing better behaved
2013-01-04 16:59:00 -06:00
Matthew Flatt
67f0af387b
fix problems with single-flonum (versus flonum) results
...
The problems were with
* `sqrt' and `expt' on single-flonum complex numbers
* `asin' and `acos' on single-flonum arguments and complex results
* `atan' on mixtures of single-flonum and exact arguments
* `gcd' on mixtures of single-flonum and flonum arguments
2013-01-04 08:00:24 -07:00
Matthew Flatt
43e01d7f4e
rename test file
...
":" is not allowed in a file name on Windows.
2013-01-02 06:33:10 -07:00
Matthew Flatt
3c5135fc7a
`expt' repair, again
...
Previous repair wasn't general enough; negative powers can also
go wrong.
2013-01-01 18:05:37 -07:00
Vincent St-Amour
678451f8c4
Fix tests.
2013-01-01 18:14:52 -05:00
Vincent St-Amour
4137eb9e73
Make let: annotations optional.
2013-01-01 18:14:52 -05:00
Matthew Flatt
07d5a9e385
fix `expt' on small negative number and large positive odd
...
The pow() function apparently gets it wrong on some platforms.
Closes PR 13391
2013-01-01 12:33:59 -07:00
Matthew Flatt
cdfc4912ad
racket/base: add exn:fail:filesystem:errno and exn:fail:network:errno
...
Provide raw error codes when available, which is mostly from filesystem
and networking primitives.
2012-12-31 12:04:03 -07:00