diff options
Diffstat (limited to 'html-test/src/DeprecatedRecord.hs')
-rw-r--r-- | html-test/src/DeprecatedRecord.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/html-test/src/DeprecatedRecord.hs b/html-test/src/DeprecatedRecord.hs new file mode 100644 index 00000000..d44499e7 --- /dev/null +++ b/html-test/src/DeprecatedRecord.hs @@ -0,0 +1,9 @@ +module DeprecatedRecord where + +-- | type Foo +data Foo = Foo { + fooName :: String -- ^ some name +, fooValue :: Int -- ^ some value +} + +{-# DEPRECATED fooValue "do not use this" #-} |