Slide 79
Slide 79 text
Types and Kinds
● Kinds are “types of types”
○ 1, 2, 3, … :: Int
○ Int, String, File, ... :: *
○ Maybe :: * -> *
● DataKinds promote datatypes
○ Types to kinds, data constructors to types
○ Enable to use values in type-level functions
カインドは「型の型」
DataKinds 拡張でデータ型を昇格できる
#ScalaMatsuri