Created
May 2, 2018 18:15
-
-
Save laginha87/fbe7b6a8a3f0c0d96d77c902fb3e61f5 to your computer and use it in GitHub Desktop.
array_and_hash_3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Declaring arrays and hashes that can have nils and have either strings or ints | |
array = [] of Int32|String? | |
hash = {} of String => Int32|String? | |
alias A = Int32|String? | |
array_2 = [] of A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment