For the first you can use a typealias (because it'...
# getting-started
d
For the first you can use a typealias (because it's a type), for the second you can't, because it's a syntax construct.