Skip to content

Commit

Permalink
Tweak README.
Browse files Browse the repository at this point in the history
  • Loading branch information
leepike committed May 17, 2012
1 parent a5e19bf commit 843d300
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ Div0 defines a toy language containing constants (C), addition (A), and division
Because SmartCheck performs data-generic operations using Data.Data and
GHC.Generics we have to derive Data, Typeable, and Generic (we plan to eliminate
dependence on Data.Data in the future). To use GHC.Generics, you also need the
following pragmas:
following pragmas: and the single automatically-derived instance:

{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}

instance SubTypes M

Let's say we have a little interpreter for the language that takes care not to
divide by 0:

Expand Down

0 comments on commit 843d300

Please sign in to comment.