Effective Haskell: Missing import statement (ch. 9, p. 280, pdf, B2.0)

Before defining an instance of the IsString class, it is necessary to import the IsString class from Data.String:

import Data.String (IsString (…))

1 Like