Sho Nakatani
b842030887
Merge 88086d6b9c
into b5bbd7247a
2017-03-19 15:16:58 +00:00
Carol (Nichols || Goulding)
b5bbd7247a
Link edits + new exs from jan-schreib, mwilli20, & QuietMisdreavus! ☄️
2017-03-19 10:15:57 -04:00
Carol (Nichols || Goulding)
08071aae39
Word wrap for the playground
2017-03-19 10:10:48 -04:00
Carol (Nichols || Goulding)
133892fc4e
Merge pull request #57 from QuietMisdreavus/macros
...
add macros examples
2017-03-19 10:08:42 -04:00
Carol (Nichols || Goulding)
2ee6e22e5c
Merge pull request #56 from mwilli20/patch-1
...
Create iterators4.rs
2017-03-19 10:02:51 -04:00
Carol (Nichols || Goulding)
4cd095466b
Merge pull request #54 from jan-schreib/patch-1
...
ex1 is compiling
2017-03-19 09:57:18 -04:00
QuietMisdreavus
2b70161b4f
add macros4 example
2017-03-17 09:47:45 -05:00
QuietMisdreavus
248d87a2dd
add macros examples
2017-03-17 09:30:29 -05:00
Matthew Williamson
e0274e07d0
Create iterators4.rs
...
Tackles https://github.com/carols10cents/rustlings/issues/15 . I think this allows for varying levels of difficulty depending on a users background. But ideally people can move there way up from 1, 2, 3 (Numbers below).
1.
let mut result = 1;
for i in 1..x + 1 {
result *= i;
}
result
2.
match x {
0 | 1 => 1,
x => x * factorial(x - 1),
}
3.
(1..x + 1).product()
2017-01-05 22:38:07 -05:00
Jan S
bfd0929cae
ex1 is compiling
...
While trying your exercises I noticed that the ex1.rs code is already compiling.
2017-01-04 00:22:23 +01:00
Sho Nakatani
88086d6b9c
fixes functions5
2016-12-30 18:07:22 +09:00
Sho Nakatani
f5708d39ae
fixes functions4
2016-12-30 18:06:23 +09:00
Sho Nakatani
d928df0942
fixes functions3
2016-12-30 18:05:22 +09:00
Sho Nakatani
b000a64f03
fixes functions2
2016-12-30 18:04:47 +09:00
Sho Nakatani
ccc9f924bd
fixes functions1
2016-12-30 18:04:02 +09:00
Sho Nakatani
11d1b58d64
Merge pull request #1 from laysakura/feature/variables
...
Feature/variables
2016-12-30 17:59:53 +09:00
Sho Nakatani
d9b2542769
fixes variables4
2016-12-30 17:58:49 +09:00
Sho Nakatani
8aab9d9c03
fixes variables3
2016-12-30 17:58:15 +09:00
Sho Nakatani
c01be98e34
fixes variables2
2016-12-30 17:54:13 +09:00
Sho Nakatani
aac40f6120
fixes variables1
2016-12-30 17:53:24 +09:00
sarge
2079503b21
changed URLs to https scheme where possible
2016-08-15 07:02:36 +03:00
Carol (Nichols || Goulding)
32131ae811
Incorporate changes from @pindell-matt! 🚀
2016-07-05 09:00:56 -04:00
Matt Pindell
cdcec9ca20
Update "strings2.rs" link
...
Add 1 new-line to the "strings2.rs" link on rust playground so that the hints at the bottom are completely obscured on initial load.
Used the "Shorten Link" option from the Playground to create the new url.
2016-07-04 13:58:21 -06:00
Carol (Nichols || Goulding)
17d830015c
Too many dashes oops
2016-06-21 11:11:41 -04:00
Carol (Nichols || Goulding)
4378a2c5bf
Add more hints, better test failures, etc to errorsn
2016-06-21 11:10:21 -04:00
Carol (Nichols || Goulding)
0b15e92738
Add another another error exercise
2016-06-21 10:40:32 -04:00
Carol (Nichols || Goulding)
ae46dfd752
Add another error exercise
2016-06-21 10:07:21 -04:00
Carol (Nichols || Goulding)
6a376c1e3d
Update the readme links, oops
2016-06-16 11:38:32 -04:00
Daan van Berkel
0cc668c012
Create tests for if1.rs
...
This provides standardize feedback if a solution is correct. Fixes #46 .
2016-06-14 17:07:36 +02:00
Carol (Nichols || Goulding)
5029525594
Merge pull request #45 from matthewjberger/master
...
Update dead dining philosophers link to the 1.4.0 book example.
2016-06-08 09:27:48 -04:00
Matthew J. Berger
95669896fa
Update dead dining philosophers link to the 1.4.0 book example.
2016-06-07 15:56:55 -07:00
Carol (Nichols || Goulding)
72ec3211a0
Merge pull request #44 from Zajn/zajn/update-hint-text
...
Update hint to reflect new variable binding name
2016-05-31 14:10:12 -04:00
Zachary T Jones
e48efe3c34
Update hint to reflect new variable binding name
2016-05-25 20:23:33 -04:00
Carol (Nichols || Goulding)
a046286bf8
Merge pull request #43 from laboon/wjl_add_test_instructions
...
Add directions on running tests
2016-05-14 17:21:44 -04:00
laboon
6e71d20086
Add directions on running tests
2016-05-12 19:59:44 -04:00
Carol (Nichols || Goulding)
3a172ccf30
Make strings2 less confusing, thank you @glenjamin!! 🎉
...
Fixes #41 .
2016-04-19 16:15:21 -04:00
Carol (Nichols || Goulding)
4bf727cbf7
Incorporate ConnyOnny's iterator exercise!
...
- Deciding not to have solutions in the tree right now, until I figure
out a more general way to handle that.
- The assertions work really great as tests, actually!
- Simplifying a few of the side points-- I think they deserve their own
exercises :)
2016-04-19 16:00:30 -04:00
Carol (Nichols || Goulding)
d0f4ee1b39
Merge remote-tracking branch 'origin/pr/40'
2016-04-16 11:32:10 -04:00
Carol (Nichols || Goulding)
65cc4cf12c
Add jleedev's try!, From, and Error exercise! ✨
...
Made some modifications to clarify the structure since this is a bigger
example, also added some more hints.
Name it errorsn since I think we could still use more exercises between
errors1 and errorsn, but I've been sitting on these too long as it is :)
2016-04-16 11:29:33 -04:00
Carol (Nichols || Goulding)
c21fb10ae4
Add an exercise for rewriting Option to be Result
...
In the case where you'd like to provide an explanation why the function
isn't able to do the thing, rather than just not doing the thing.
2016-04-16 10:53:39 -04:00
Carol (Nichols || Goulding)
4587266b82
Rename the first errors exercise to be about Option, link to it
2016-04-16 10:53:39 -04:00
Carol (Nichols || Goulding)
d145c6334f
Start an error handling section and move the result exercise there
...
I think this is a better categorization than "standard library types".
2016-04-16 10:53:39 -04:00
Carol (Nichols || Goulding)
79f0b17473
Add some error handling exercises
2016-04-16 10:53:39 -04:00
Constantin Berhard
78014c0a73
fixed iterator1 exercise by giving the compiler less clues
2016-04-14 12:48:18 +02:00
Constantin Berhard
d989bbebd0
added exercise iterator1 and its solution
2016-04-14 12:16:04 +02:00
Carol (Nichols || Goulding)
203b9167ea
Merge pull request #37 from jwworth/pull_request_1460220767
...
Fix typo
2016-04-09 17:42:05 -04:00
Jake Worth
4d51aeedb4
Fix typo
2016-04-09 12:52:53 -04:00
Carol (Nichols || Goulding)
5d60724a51
Merge pull request #36 from jonathantorres/patch-1
...
Update LICENSE year.
2016-03-27 20:16:52 -04:00
Jonathan Torres
65c78fef44
Update LICENSE year.
2016-03-27 15:57:49 -04:00
Carol (Nichols || Goulding)
a37ea4eb74
Ignore temporary .swp files
2016-02-09 15:23:50 -05:00