Commit Graph

67 Commits

Author SHA1 Message Date
Stephen Chang
15d41a787e add examples for make-struct-info in docs 2013-01-26 14:06:04 -05:00
Matthew Flatt
b239a29544 doc repair
Looks like it was an accidental incorrect update

Merge to v5.3.1
2012-10-24 17:03:35 -07:00
Asumu Takikawa
e14c5d61e9 Allow guards for impersonatable struct type properties 2012-07-19 22:46:14 -04:00
Matthew Flatt
26269c329e racket/base: add some missing predicates
The new predicates are `progress-evt?' `thread-cell-values?',
`prefab-key?', `semaphore-peek-evt?', and `channel-put-evt?'.
These were used internally, and now they appear in contract
error messages.
2012-05-29 11:01:52 -06:00
Asumu Takikawa
a22633e348 Rename generics => generic. 2012-05-24 16:51:14 -04:00
Vincent St-Amour
390cd02b52 Have a generic interface for equal+hash.
Currently provided by racket/struct, for lack of a better place.
2012-05-24 16:51:11 -04:00
Vincent St-Amour
d5de436b9c Add a pointer to generics in the struct property docs. 2012-05-24 16:50:42 -04:00
Vincent St-Amour
448ad27a37 Move generics to racket/generics.
After discussion with Eli.
2012-05-24 16:50:42 -04:00
Andy Gocke
b8847a53bf Started on random testing for contracts 2011-11-23 22:54:21 -06:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
80c4396dc1 JIT-inline struct type property predicates and accessors 2011-06-11 08:35:34 -07:00
Tony Garnock-Jones
7615c2a512 Implementation, documentation and tests for adding a failure-result to property accessor procedures. 2011-05-24 16:53:52 -04:00
Robby Findler
4e81299e98 added examples to struct-copy docs 2011-03-25 11:04:17 -05:00
Robby Findler
614ec41ab7 extended struct-copy so that you copy adjust fields from super structs 2011-03-25 08:47:27 -06:00
Kevin Tew
3fa033e27b doc typo fix 2011-02-28 16:03:05 -07:00
Matthew Flatt
655f6045a2 fix shared' for #:auto' fields and constructors without `make-'
Closes PR 11588
 Closes PR 11591
2011-01-05 13:52:11 -07:00
Matthew Flatt
3bb120545f fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
--- but Gwyth's amazingly helpful review of chapters 1-11
     pointed out a few problems that are more difficult to fix
     and are still pending
2011-01-04 09:53:31 -07:00
Matthew Flatt
90ac279096 add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
Matthew Flatt
52d04449a1 improve racket/serialize to handle cycles with mutable prefabs 2010-07-09 14:19:59 -06:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Matthew Flatt
b0deb8affb more doc and scribble repairs 2010-04-24 07:18:11 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Matthew Flatt
3cc95b31ef add prop:struct-info
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Matthew Flatt
f37c71c6ee setup-plt -D skips compilation of .scrbl files
svn: r15727
2009-08-13 16:24:33 +00:00
Matthew Flatt
f51f8c8b7f avoid generating unnecessary struct-accessor and -mutator names
svn: r14566
2009-04-20 13:14:40 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
24e4fd407b chat-noir literate small repairs
svn: r13765
2009-02-21 13:30:22 +00:00
Jon Rafkind
516ebbbc4c typo
svn: r13379
2009-02-03 17:25:46 +00:00
Matthew Flatt
87274b2a97 procedure-rename
svn: r12952
2008-12-30 14:36:25 +00:00
Matthew Flatt
077e5a4666 change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
svn: r12023
2008-10-13 19:45:37 +00:00
Matthew Flatt
e507d9a1a3 fix doc mistakes related to struct guards
svn: r11368
2008-08-21 17:02:50 +00:00
Eli Barzilay
3858ad007f added example
svn: r11032
2008-08-02 07:46:48 +00:00
Eli Barzilay
857bc4b63b typo
svn: r11031
2008-08-02 07:42:06 +00:00
Matthew Flatt
5ff75bac42 allow duplicate struct properties if the values are eq?; add position-locations to text%
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Matthew Flatt
7ae0f500ae add and use close-eval to reduce memory use when rendering reference and guide
svn: r9981
2008-05-27 17:20:24 +00:00
Matthew Flatt
1ee0298552 struct-copy
svn: r9456
2008-04-24 13:56:36 +00:00
Matthew Flatt
a0f65ba33e dictionaries
svn: r9383
2008-04-21 17:26:35 +00:00
Matthew Flatt
85583d4ebb more net docs
svn: r9279
2008-04-13 03:07:56 +00:00
Matthew Flatt
0153e122b7 change -q to config option, fix unlikely race condition in wake-on-signal, add path->url and url->path, and adjust URL parsing
svn: r9239
2008-04-10 19:05:35 +00:00
Sam Tobin-Hochstadt
13b7f8c506 Add checked-struct-info.
svn: r9227
2008-04-09 23:25:30 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Matthew Flatt
b953b448ba expose struct:struct-info
svn: r8753
2008-02-21 13:30:25 +00:00
Eli Barzilay
264af9a6d0 improved scribble syntax use
svn: r8720
2008-02-19 12:22:45 +00:00
Matthew Flatt
f3cb86dc1a sandbox Scribble evaluations; fix rational exact->inexact loss of precision
svn: r8238
2008-01-06 16:54:34 +00:00
Matthew Flatt
cd7157641c Scribble improvements: defmodule & co.
svn: r7902
2007-12-05 21:41:07 +00:00
Matthew Flatt
5f312dcbde doc fixes
svn: r7832
2007-11-25 19:48:41 +00:00