haskell, Programming IT Nursery Difference between `data` and `newtype` in Haskell What is the difference when I write this? data Book = Book Int Int versus newtype Book = Book (Int, Int) -- "Book Int Int" is syntactically invalid 1... May 28, 2022 0 Comments