توضیحاتی در مورد کتاب Beginning Raku, A Two Day Course
نام کتاب : Beginning Raku, A Two Day Course
عنوان ترجمه شده به فارسی : شروع راکو، یک دوره دو روزه
سری :
نویسندگان : Arne Sommer
ناشر :
سال نشر :
تعداد صفحات : 388
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 6 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Beginning Raku
Table of Contents
Introduction
The Little Print
Contributions
Reading Tips
Content
Chapter 1. About Raku
1.1. Rakudo
1.2. Running Raku in the browser
1.3. REPL
1.4. One Liners
1.5. Running Programs
1.6. Error messages
1.7. use v6
1.8. Documentation
1.9. More Information
1.10. Speed
Chapter 2. Variables, Operators, Values and Procedures.
2.1. Output with say and print
2.2. Variables
2.3. Comments
2.4. Non-destructive operators
2.5. Numerical Operators
2.6. Operator Precedence
2.7. Values
2.8. Variable Names
2.9. constant
2.10. Sigilless variables
2.11. True and False
2.12. //
Chapter 3. The Type System
3.1. Strong Typing
3.2. ^mro (Method Resolution Order)
3.3. Everything is an Object
3.4. Special Values
3.5. :D (Defined Adverb)
3.6. Type Coercion
3.7. Comparison Operators
3.8. but (True and False, but …)
Chapter 4. Control Flow
4.1. Blocks
4.2. Ranges (A Short Introduction)
4.3. loop
4.4. for
4.5. Infinite Loops
4.6. while
4.7. until
4.8. repeat while
4.9. repeat until
4.10. Loop Summary
4.11. if
4.12. given
4.13. with
4.14. ?? !!
4.15. do
4.16. when
4.17. Loop Manipulation
Chapter 5. Numbers
5.1. Octal, Hex, Binary …
5.2. Unicode Numbers
5.3. Not a Number
5.4. N_U_M_B_E_R_S
5.5. Floating Point Numbers
5.6. Rational Numbers
5.7. narrow
5.8. sign
5.9. Rounding
5.10. NaN (Not a Number)
5.11. =~=
5.12. is-prime (Prime Numbers)
5.13. Modulo and variants
5.14. Other Operators
Chapter 6. Basic Input and Output
6.1. Newlines
6.2. Stringification
6.3. Output
6.4. Stringifying Numbers
6.5. printf
6.6. Input from the user
Chapter 7. Strings
7.1. Unicode
7.2. join
7.3. split
7.4. words
7.5. comb
7.6. flip
7.7. substr (Partial Strings)
7.8. Changing Case
7.9. x (String Repetition Operator)
7.10. succ
7.11. pred
7.12. Quoting
7.13. Multi-line Strings (Heredocs)
Chapter 8. Arrays and Lists
8.1. , (List Operator)
8.2. (Quote Words)
8.3. [ ] (Array Constructor)
8.4. <> (Quote Words with interpolation)
8.5. Empty
8.6. List Elements
8.7. pop / push / shift / unshift
8.8. rotate (List Rotation)
8.9. List of Lists
8.10. Flattening Lists
8.11. Array Slice
8.12. splice
8.13. map
8.14. sort
8.15. reverse
8.16. Array with Limits
8.17. Typed Array
8.18. Shaped Array
8.19. unique (Lists Without Duplicates)
8.20. xx (List Repetition Operator)
8.21. List Selection
8.22. min / max
8.23. Random Values
8.24. permutations
8.25. combinations
8.26. but (Array)
8.27. Bringing it all together
Chapter 9. Pair and Hashes
9.1. Pair
9.2. Hashes
9.3. Hash Constructor { }
9.4. Hash Assignment and Values
9.5. keys
9.6. values
9.7. kv (keys + values)
9.8. Typed Hash
9.9. Shaped Hash
9.10. invert
9.11. antipairs
9.12. Hash Slices
9.13. Hash Lookup
9.14. Hash Deletion
9.15. Hash Duplicate Values
9.16. Hash Usage
9.17. Grep and Smartmatch
9.18. Hash (method)
9.19. but (Hashes)
Chapter 10. Procedures
10.1. Procedures Without Arguments
10.2. Procedures With Arguments
10.3. @_
10.4. Placeholder Variables
10.5. Procedures as variables
10.6. Type Constraints
10.7. return
10.8. @*ARGS
10.9. MAIN
10.10. WHY
10.11. IntStr Gotcha
10.12. Multiple Dispatch
10.13. Procedure Arguments
10.14. * (Slurpy Operator)
10.15. Blocks Revisited
10.16. Calling a procedure specified in a variable
10.17. Procedures in Procedures
Chapter 11. Regex Intro
11.1. What is a Regex?
11.2. Making a Regex
11.3. ~~ (Smartmatch Operator)
11.4. Partial Strings
11.5. Beginning or end of a string
11.6. Regex Metacharacters
11.7. $/ (Match Object)
11.8. Special Characters
11.9. Capturing and Grouping
11.10. Character Classes
11.11. Custom Character Classes
11.12. Non-greedy
11.13. Backwards References
11.14. Using a Regex
11.15. String Substitution
11.16. Adverbs
11.17. Transliteration
11.18. trim / trim-leading / trim-trailing
11.19. split and grep
11.20. Comments
Chapter 12. Modules
12.1. Precompilation
12.2. Module Administration with zef
12.3. Using Modules (use)
12.4. Writing Modules
Chapter 13. Files and Directories
13.1. INPUT OUTPUT - IO
13.2. Reading Files
13.3. Writing Files
13.4. Removing Files
13.5. Temporary Files
13.6. File tests
13.7. Binary Files
13.8. Directories
Chapter 14. Date and Time
14.1. time
14.2. now
14.3. Leap Seconds
14.4. Instant
14.5. Timing
Chapter 15. Writing a Module
15.1. unit module
15.2. is export
15.3. rakumod / pm6
15.4. use lib
15.5. Timing Fibonacci
15.6. Dictionaries
Chapter 16. Ranges and Sequences
16.1. Ranges
16.2. lazy
16.3. Sequences
16.4. state
16.5. Truly Random Flip-Flop
16.6. Flip-Flop Problems
16.7. gather / take
16.8. Closures
Chapter 17. Classes
17.1. class
17.2. method
17.3. Named Arguments
17.4. Public Class Variables
17.5. self
17.6. Custom «new»
17.7. Custom BUILD
17.8. Wrong Start Value
17.9. Object Comparison
17.10. A Person Class
17.11. Output
17.12. Private Methods
17.13. Inheritance
17.14. Roles
17.15. Multiple Dispatch
17.16. A Fallback Method
17.17. .?
17.18. .+
17.19. .*
17.20. handles (Delegation)
17.21. Calling a method specified in a variable
17.22. Stubbed Class
Appendix 1. Docker
Installing Rakudo Star with Docker
Appendix 2. Solutions
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Appendix 3. Beware of
A3.1 length
A3.2 Objects are not strings
A3.3 See also
A3.4 Syntax Summary
Appendix 4. Raku Background and History
6.a and 6.b
6.c
6.d
6.e
About Versions
Index