Skip to content

Commit

Permalink
include files
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Jul 26, 2021
1 parent aad20b4 commit 056d711
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crystal/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,11 @@ echo %ERROR_LEVEL%

![](examples/intro/gets.cr)

## Read number from STDIN
{id: read-numbr-from-stdin}

![](examples/intro/gets_number.cr)

## Interactive environments
{id: interactive-environments}

Expand Down Expand Up @@ -426,4 +431,3 @@ echo %ERROR_LEVEL%
* See the [Legal drinking age](https://en.wikipedia.org/wiki/Legal_drinking_age) list.
* Don't worry if this seems to be too difficult to solve in a nice way. We'll learn more tools to improve.


15 changes: 15 additions & 0 deletions crystal/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,18 @@ All the elements of an array "inherit" the type from the array
* [Facebook group](https://www.facebook.com/groups/crystallang/)
* [LinkedIn page](https://www.linkedin.com/company/crystal-language/)


![](examples/restrict_type_in_code_for_struct_attribute_fixed.cr)

![](examples/restrict_type_in_code.cr)

![](examples/restrict_type_in_code_for_hash_fixed.cr)

![](examples/restrict_type_in_code_for_struct_attribute_broken.cr)

![](examples/type_inference_from_struct.cr)

![](examples/restrict_type_in_code_for_hash_broken.cr)

![](examples/code_executed.cr)

0 comments on commit 056d711

Please sign in to comment.