Slide 10
Slide 10 text
What is a “# Type” aka. row type of Type?
● Think about records:
○ Statically defined fields with static label names
○ Heterogeneous, where each field can have different type
○ But each field will always be the correct Type
type MyRecord =
{ apple :: Int -- always defined Int e.g. 1,2,3
, banana :: Boolean -- always defined Boolean, true/false
, cherry :: Maybe String -- maybe defined String, Nothing/Just "asdf"
}