Permalink
Browse files

* Now with data file :)

  • Loading branch information...
1 parent 56aa292 commit 24a42cb34201bd36e22b2079549a39715ca4677c @spockz spockz committed Oct 2, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/Data/Data.hs
View
@@ -0,0 +1,15 @@
+module Data.Data where
+
+data Item = Constructor String
+ | Type String
+ | Function String
+ | Operator String
+ | Class String
+ deriving (Eq, Ord)
+
+instance Show Item where
+ show (Constructor s) = s
+ show (Type s) = s
+ show (Function s) = s
+ show (Operator s) = s
+ show (Class s) = s

0 comments on commit 24a42cb

Please sign in to comment.