andrewMacmurray / haskell-book-solutions

Solutions to exercises in Haskell Programming from first principles
MIT License
38 stars 5 forks source link

Mixed type variables in chapter 18, exercise 2 #25

Open 2bdkid opened 5 years ago

2bdkid commented 5 years ago
data PhhhbtEither a b =
    Left' a
  | Right' b
  deriving (Eq, Show)

should be

data PhhhbtEither b a =
    Left' a
  | Right' b
  deriving (Eq, Show)