title: Pattern matching for custom read function
body: <p>I am writing a custom read function for one of the data types in my module. For eg, when I do <code>read "(1 + 1)" :: Data</code>, I want it to return <code>Plus 1 1</code>. My data declaration is <code>data Data = Plus Int Int</code>. Thanks</p>