Ryan Scheel
fb7f0a4ae1
It's hard to type when the cursor is not where you are actually typing.
2012-07-08 14:19:30 -07:00
Ryan Scheel
7e5b64bafe
elt -> element
2012-07-08 14:11:14 -07:00
Ryan Scheel
552c164a46
Parameter/Variable names for for_rev and map extended.
2012-07-08 13:58:37 -07:00
Brian Anderson
e4a3b9ac69
tutorial: Fill out bounded type test case
2012-07-08 01:12:43 -07:00
Brian Anderson
b95a4daa60
Add Ryan Scheel to AUTHORS.txt
2012-07-08 00:52:09 -07:00
Brian Anderson
5dd5a9ab89
core: Ignore to_str::test_vectors. It's busted
2012-07-08 00:50:46 -07:00
Ryan Scheel
69c2a9c26a
Add test attributes to test functions missing test attributes.
2012-07-08 00:42:23 -07:00
Brian Anderson
1cefbf3c78
tutorial: Make class example compile
2012-07-08 00:15:42 -07:00
Brian Anderson
ea03315cf4
Revert "change borrowck error msg: 'declared in outer block' -> 'captured in a closure'"
...
This change requires some tests to be updated.
This reverts commit b5b8f5efcc
.
2012-07-08 00:07:15 -07:00
Brian Anderson
d0e69a9df7
tutorial: Fix capitalization of header
2012-07-08 00:04:49 -07:00
Brian Anderson
4a342ad79f
tutorial: Describe blockquotes in the 'Conventions' section
2012-07-07 23:50:30 -07:00
Brian Anderson
53bb4192d8
tutorial: Use a more tasteful blockquote style
2012-07-07 23:45:28 -07:00
Brian Anderson
de1de68b82
tutorial: Put class warning in a blockquote
...
Style it like other such asides
2012-07-07 23:34:28 -07:00
Tim Chevalier
dbc47176ac
Add Glenn Willen to AUTHORS
2012-07-07 23:13:44 -07:00
Tim Chevalier
9284829b3b
Merge pull request #2838 from gwillen/tutorial-class
...
tutorial: add classes
2012-07-07 23:11:39 -07:00
Glenn Willen
417fa4ba7f
tutorial: Add section on classes.
2012-07-07 23:01:04 -07:00
Brian Anderson
02ef651f95
Increase the difficulty of chameneos-redux under 'make perf'
2012-07-07 22:39:23 -07:00
Kevin Cantu
638ee23fcf
Add improvements suggested by erickt and bblum
2012-07-07 22:27:00 -07:00
Kevin Cantu
2bd482ef11
Add the Alioth chameneos-redux benchmark
...
This adds a Rust implementation of the Alioth chameneos-redux benchmark:
http://shootout.alioth.debian.org/u64q/performance.php?test=chameneosredux
This version already seems faster than Clojure, Ruby, and OCaml. I'm running
with N=6,000,000 in about 1m 50s. Further optimization would be good, though.
I'm talking right now with @eholk about how pipes could be used (this is 1:many)...
2012-07-07 22:27:00 -07:00
Brian Anderson
8f9744d92d
tutorial: Cleanup
2012-07-07 18:39:58 -07:00
Brian Anderson
c243c11058
Add Benjamin Herr to AUTHORS.txt
2012-07-07 18:33:57 -07:00
Brian Anderson
f3669dfc5d
Merge remote-tracking branch 'ben0x539/incoming'
...
Conflicts:
doc/tutorial.md
2012-07-07 18:30:54 -07:00
Brian Anderson
f96ec94886
tutorial: Typo
2012-07-07 18:03:32 -07:00
Brian Anderson
f5db5656ba
tutorial: Add a few words about shadowing
2012-07-07 18:00:16 -07:00
Brian Anderson
4083e8518d
tutorial: Add a section on common vector methods
2012-07-07 17:54:13 -07:00
Brian Anderson
f46e4ba1fb
tutorial: Expand the section on vectors
2012-07-07 17:31:39 -07:00
Brian Anderson
6fa64eeb20
tutorial: Pointer cleanup
2012-07-07 16:49:51 -07:00
Brian Anderson
04feb6e1ab
tutorial: Add a note about the experimentalness of borrowed pointers
2012-07-07 16:27:59 -07:00
Brian Anderson
7196617669
tutorial: Reorder sections around the memory model discussion
...
Also some minor tweaks.
2012-07-07 16:23:13 -07:00
Brian Anderson
994c881538
tutorial: Use blockquotes for asides. Add styling
2012-07-07 15:51:11 -07:00
Brian Anderson
3413b3f5c5
tutorial: Expand the section on functions
2012-07-07 15:37:58 -07:00
Brian Anderson
205b483edd
tutorial: Discuss failure and asserts together
2012-07-07 15:09:54 -07:00
Brian Anderson
59355e99ca
tutioral: Discuss basic function syntax is discussed before the memory model
2012-07-07 15:08:44 -07:00
Niko Matsakis
a856bccdc6
Revert "rustc: Switch to the new resolution pass"
...
This reverts commit c4af6e92fb
.
Branch was burning...many, many unresolved imports.
2012-07-06 20:45:06 -07:00
Ben Blum
f9cb04f6fa
vim: hilight option, either, libc types+constants
2012-07-06 22:30:50 -04:00
Ben Blum
b5b8f5efcc
change borrowck error msg: 'declared in outer block' -> 'captured in a closure'
2012-07-06 22:30:50 -04:00
Patrick Walton
c4af6e92fb
rustc: Switch to the new resolution pass
2012-07-06 19:07:26 -07:00
Brian Anderson
b5f5676a2f
tutorial: Use consistent casing in headers
2012-07-06 18:27:42 -07:00
Brian Anderson
28fec95c59
tutorial: Add some work on borrowed pointers
2012-07-06 18:25:39 -07:00
Brian Anderson
af199f2edb
tutorial: Expand the section on datatypes
2012-07-06 18:09:59 -07:00
Brian Anderson
ad05996223
tutorial: Fix a test-breaking typo
2012-07-06 18:09:22 -07:00
Brian Anderson
4bb13c69d6
Add 'class' and 'new' to codemirror-rust.js
2012-07-06 17:18:11 -07:00
Brian Anderson
57698fec6c
tutorial: Remove some trivia
2012-07-06 17:07:29 -07:00
Graydon Hoare
6b8ebc12db
First step on #2826 , accept ^ for ty_ptr.
2012-07-06 16:03:51 -07:00
Michael Sullivan
23c73360ca
Fix the indenter script to know about the annoying ~ in the front of log strings.
2012-07-06 15:55:56 -07:00
Michael Sullivan
038f925586
Be less eager about implicit borrowing when doing method resolution. Closes #2796 .
2012-07-06 15:55:18 -07:00
Graydon Hoare
ceac155211
For #2229 , recognize 'again' in place of 'cont', final change pending snapshot.
2012-07-06 15:46:39 -07:00
Eric Holk
e20f63d095
Bank protocol example from blog post
2012-07-06 15:25:06 -07:00
Eric Holk
b925648ac7
Added a k-nucleotide version that uses pipes. 31% speedup.
2012-07-06 15:16:16 -07:00
Brian Anderson
fce064db6b
tutorial: Reduce header level for do/for loop sections
2012-07-06 15:10:30 -07:00