Commit Graph

50 Commits

Author SHA1 Message Date
sorawee
ed198750d4
[racket/en] fix indentation and spacing (#4251)
* Fix indentation and spacing

* One more fix
2021-10-23 18:46:48 +02:00
Nenad Mijatovic
090876533b
Fix section numbering
Index number for the `Functions` sections is numbered `3.` -- just like the `Structs and Collections` section before it.
This fixes section numbering for `Functions` and all subsequent sections.
2018-12-03 22:30:37 +01:00
Steve Chae
51e14b0e34 [racket/en] Fix Incorrect Names in Mutable Struct Examples (per Issue #2714) (#2715)
* Fix wrong mutable struct namee

* Re-added space after ;
2017-04-27 18:21:10 +02:00
Derek
51ce7fda40 [racket/en] Expand list section (#2588)
* Expand list section
* Update backtick
2016-11-30 12:36:56 -08:00
Geoffrey Liu
273fa8606b [racket/en] Add more details about Racket (#2278)
* Add let* and letrec reference

* More elaboration on structs

* Add code about predefined car, cdr functions

* Mention explicit typing, int to real conversion
2016-06-26 15:21:13 +02:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
Keyan Zhang
8f904480c0 detailed explanation of eq?, eqv?, and equal?
References:
1. http://docs.racket-lang.org/reference/booleans.html
2. http://docs.racket-lang.org/reference/eval-model.html
3. https://groups.google.com/forum/#!topic/plt-scheme/T1k49HMl450
4. http://stackoverflow.com/questions/16299246/what-is-the-difference-between-eq-eqv-equal-and-in-scheme
5. http://www.r6rs.org/final/html/r6rs/r6rs-Z-H-14.html
2015-03-13 14:04:20 -04:00
Levi Bostian
f2575c7f38 Fix typos from issue 447. 2014-03-20 12:37:13 -05:00
Duong H. Nguyen
6801c7056d Improve language usage in Racket guide 2014-01-05 21:37:35 +07:00
Duong H. Nguyen
17f4ff8588 Fix Racket style 2014-01-05 21:29:27 +07:00
Duong H. Nguyen
f542ed357d Add input/output section for Racket 2014-01-05 21:25:12 +07:00
Gustavo Schmidt
3c3fb64820 Fix hygienic macro example in racket.html.markdown 2013-07-28 21:43:21 -03:00
Adam
1466127aa3 Fixed stuff 2013-07-21 16:47:55 -07:00
Adam
b1fe88fe17 Merged racket changes 2013-07-17 10:06:29 -07:00
Manu
752a6a9893 typos 2013-07-16 21:42:38 +12:00
voila
11add1c50d Update racket.html.markdown 2013-07-16 21:18:07 +12:00
voila
c73fbf9d54 added contributor 2013-07-16 21:17:24 +12:00
voila
f6a72e179d Merge pull request #1 from elibarzilay/master
Lots of improvements
2013-07-16 02:13:05 -07:00
Manu
1ee3db9965 binary, octal, hexadecimal integers 2013-07-16 20:40:09 +12:00
Eli Barzilay
d97565efa1 Quick bad-macro example. 2013-07-16 04:17:43 -04:00
Eli Barzilay
0063574a4d Some list function examples. 2013-07-16 04:13:06 -04:00
Eli Barzilay
b55ce4f045 Much more on iteration in all forms. 2013-07-16 04:07:40 -04:00
Eli Barzilay
c99ac1be7e Improve class section. 2013-07-16 03:44:26 -04:00
Eli Barzilay
8f295f4e68 `require' gets all bindings, not just functions.
Also, explain the ' use.
2013-07-16 03:36:54 -04:00
Eli Barzilay
c11ec1f137 Improve `with-handlers' an exceptions description. 2013-07-16 03:35:12 -04:00
Eli Barzilay
8a065aa256 Improve functions intro.
Add `λ', sugared/unsugared examples, optionals, keywords.
2013-07-16 03:31:21 -04:00
Eli Barzilay
d8e722d619 Improve list section. 2013-07-16 03:12:27 -04:00
Eli Barzilay
547a8a6db1 Improve mutable/immutable comment, add `make-vector' example. 2013-07-16 03:06:11 -04:00
Eli Barzilay
159b7e4e1e Add boxes example. 2013-07-16 02:08:28 -04:00
Eli Barzilay
7a92ee7ab8 swap' -> swap!' 2013-07-16 02:06:16 -04:00
Eli Barzilay
fbd215521f Better link for more reading. 2013-07-16 02:04:56 -04:00
Eli Barzilay
e39faf7019 Width.
Make the whole text fit in 70 characters.
2013-07-16 02:03:51 -04:00
Eli Barzilay
6af5c957d0 Clarify functional data structures.
Note that `set-add' is functional, clarify immutable hashes, add mutable
hash examples to contrast.
2013-07-16 01:55:29 -04:00
Eli Barzilay
5d952fb6da Improve #; example.
Also, I removed the following expression since this is the beginning
when interaction is not shown.  Instead, I added a comment to explain
what #;s are useful for.
2013-07-16 01:46:06 -04:00
Eli Barzilay
cfc136dea8 Use idiomatic quoting for identifiers. 2013-07-16 01:43:42 -04:00
Eli Barzilay
3715c5c2b7 C-escapes example.
Also, remove old-style "~n"s.
2013-07-16 01:36:52 -04:00
Eli Barzilay
d8989c2ae3 Improve macro definition.
It's more robust to use `let' to have the macro result in its own new
scope.  (Unrelated to the hygiene point, of course.)
2013-07-16 01:30:51 -04:00
Eli Barzilay
e8f8e2331b More comment fixes. 2013-07-16 01:29:37 -04:00
Eli Barzilay
6b282360b0 Indentation fixes. 2013-07-16 01:28:20 -04:00
Eli Barzilay
fa1ef10edd Remove spaces at end-of-lines. 2013-07-16 01:22:48 -04:00
Eli Barzilay
4ad1441e83 Normalize top comments to start with ";;".
Leave a single ";" for commented expressions and output indications.
2013-07-16 01:22:11 -04:00
Manu
4718ea4e0c fix file name 2013-07-16 13:41:26 +12:00
Manu
6ff708a040 replace unless macro by a while macro 2013-07-16 10:51:38 +12:00
Adam
ecec97ef92 Cleaned up php metadata, added racker 2013-07-15 08:19:23 -07:00
Manu
13604e7932 corrections and suggestions 2013-07-15 14:44:48 +12:00
Manu
150b232b9b added struct, quote 2013-07-14 23:59:16 +12:00
Manu
930d12e98f added sets, hashes and objects 2013-07-14 00:37:49 +12:00
Manu
fb2c8aa765 added macros, conditionals. fixed some errors 2013-07-12 23:33:34 +12:00
Manu
80c2a00bc5 fix errors 2013-07-12 00:01:33 +12:00
Manu
340e552822 started on Racket 2013-07-11 23:45:38 +12:00