Overloaded strings, pattern matching, and Eq insta

Run Settings
LanguageHaskell
Language Version
Run Command
{-# LANGUAGE OverloadedStrings #-} module M where import Data.String (IsString) data A = A instance IsString A f :: A -> Int f "" = 0 f _ = 1
Editor Settings
Theme
Key bindings
Full width
Lines