karamaan / karamaan-opaleye

Other
11 stars 7 forks source link

Make lots of examples #7

Open tomjaguarpaw opened 10 years ago

tomjaguarpaw commented 10 years ago

Renzo writes:

You should provide examples of how to achieve stuff using Opaleye. A lot of them. Being such an abstract library, it's not obvious from the type signatures how to connect the many pieces together in order to solve a particular problem, and examples can really help here: users take an example, modify it a bit and solve their problem. The Example.lhs file is a great start, but it needs to mention a additional topics such as doing update/insert/delete or how to integrate with other queries. I suggest you take a look at the current tutorial for pipes is organized for ideas:

http://hackage.haskell.org/package/pipes-4.1.0/docs/Pipes-Tutorial.html

tomjaguarpaw commented 10 years ago

Joseph Abrahamson would like "three clear examples of the difference in type safety [between Opaleye and HaskellDB]".

tomjaguarpaw commented 10 years ago

Here's an example in the difference in type safety between Opaleye and HaskellDB: https://github.com/m4dc4p/haskelldb/issues/22