summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoenkeHahn <>2019-03-13 18:10:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-03-13 18:10:00 (GMT)
commit31621db622992bf3a9b2e33c633c89f0ae3f26ef (patch)
treeb9b9eea3ea2f1efbb5d9ddf3276bf17a5cb61d34
parent9681ea6b6e75bfab9719fe6cba684795f99ba812 (diff)
version 0.4.0.1HEAD0.4.0.1master
-rw-r--r--generics-eot.cabal10
-rw-r--r--test/Generics/Eot/Tutorial.lhs4
2 files changed, 7 insertions, 7 deletions
diff --git a/generics-eot.cabal b/generics-eot.cabal
index 027fb6d..e124a1a 100644
--- a/generics-eot.cabal
+++ b/generics-eot.cabal
@@ -1,11 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.27.0.
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
--- hash: f78a8bf04b02774d2803f10fa8faa86e1590a5482402067e4af956c60fc06520
+-- hash: 50d659af680069ec9917ed6a35c1ca01a40f9e83cc751ac1801a407b1e7a0602
name: generics-eot
-version: 0.4
+version: 0.4.0.1
synopsis: A library for generic programming that aims to be easy to understand
description: Documentation is here: <https://generics-eot.readthedocs.io/>
category: Generics
@@ -15,8 +17,6 @@ maintainer: soenkehahn@gmail.com
license: BSD3
license-file: LICENSE
build-type: Simple
-cabal-version: >= 1.10
-
extra-source-files:
README.md
diff --git a/test/Generics/Eot/Tutorial.lhs b/test/Generics/Eot/Tutorial.lhs
index 5613ce6..9846ccd 100644
--- a/test/Generics/Eot/Tutorial.lhs
+++ b/test/Generics/Eot/Tutorial.lhs
@@ -422,7 +422,7 @@ instance (Typeable x, EotCreateTableStatement [String] xs) =>
eotCreateTableStatement [] Proxy = error "impossible"
```
-The last instances is for `()`. It's needed as the base case for
+The last instance is for `()`. It's needed as the base case for
traversing the fields and as such returns just an empty list.
``` haskell
@@ -431,7 +431,7 @@ instance EotCreateTableStatement [String] () where
eotCreateTableStatement (_ : _) Proxy = error "impossible"
```
-`createTableStatement` ties everything together. It obtaines the meta
+`createTableStatement` ties everything together. It obtains the meta
information through `datatype` passing a `Proxy` for `a`. And it creates a
`Proxy` for the eot-type `Proxy :: Proxy (Eot a)`. Then it calls
`eotCreateTableStatement` and just `concat`s the resulting snippets.