Re: [Haskell-cafe] Two GHC-related GSoC Proposals

2013-06-02 Thread Boris Lykah
It is not obvious that semantics is preserved for optimisations which remove non-constants like bar a b = a + b - a - b -- the RHS is should be optimized away to 0 Calling bar undefined undefined throws an error, but the optimised bar would return 0. On Sat, Jun 1, 2013 at 8:10 PM, Patrick

[Haskell-cafe] ANN: Groundhog 0.3 - mysql, schemas and enhanced queries

2013-04-19 Thread Boris Lykah
I am happy to announce release of Groundhog 0.3! Groundhog is a library for high-level database access. It has support for Sqlite, PostgreSQL, and a new MySQL backend. Advanced migration capabilities allow you to precisely specify the schema description, fitting it to an existing database, or

Re: [Haskell-cafe] ANN: Groundhog 0.3 - mysql, schemas and enhanced queries

2013-04-19 Thread Boris Lykah
Ellis tom-lists-haskell-cafe-2...@jaguarpaw.co.uk wrote: On Fri, Apr 19, 2013 at 11:42:14AM +0300, Boris Lykah wrote: The full description of the configuration options is available at http://hackage.haskell.org/packages/archive/groundhog-th/0.3.0/doc/html/Database-Groundhog-TH.html Hi Boris

[Haskell-cafe] ANN: Groundhog 0.2 - now with database index support

2012-10-10 Thread Boris Lykah
I am excited to announce a new release of Groundhog 0.2 - a library for high-level database access. * http://hackage.haskell.org/package/groundhog * http://hackage.haskell.org/package/groundhog-th * http://hackage.haskell.org/package/groundhog-postgresql *

Re: [Haskell-cafe] ANNOUNCE: Groundhog 0.1.0.1 - high-level database library

2012-09-14 Thread Boris Lykah
, MySQL, and MongoDB. On Fri, Sep 14, 2012 at 1:28 AM, Tom Murphy amin...@gmail.com wrote: How does this compare with other high-level Haskell db libraries? Tom On Sep 13, 2012 2:25 PM, Boris Lykah lyk...@gmail.com wrote: I am happy to announce a new version of Groundhog, a library for fast high

[Haskell-cafe] ANNOUNCE: Groundhog 0.1.0.1 - high-level database library

2012-09-13 Thread Boris Lykah
I am happy to announce a new version of Groundhog, a library for fast high-level database access: http://hackage.haskell.org/package/groundhog http://hackage.haskell.org/package/groundhog-th http://hackage.haskell.org/package/groundhog-postgresql

[Haskell] ANNOUNCE: Groundhog, a database connectivity library

2011-06-17 Thread Boris Lykah
Hackage cannot build it due to technical issues (as Dons assumed several packages it depends on are not exposed), but you can install it with cabal. It is still very early beta and it may have some bugs. I am very interested to hear your feedback. Thanks, Boris Lykah

[Haskell-cafe] ANNOUNCE: Groundhog-0.0.1.1, a database connectivity library

2011-06-17 Thread Boris Lykah
Hackage cannot build it due to technical issues (as Dons assumed several packages it depends on are not exposed), but you can install it with cabal. It is still very early beta and it may have some bugs. I am very interested to hear your feedback. Thanks, Boris Lykah

[Haskell-cafe] Template Haskell support for GADTs

2011-04-30 Thread Boris Lykah
Hi all! I am writing a library which allows to refer to the separate fields of a datatype. The fields are described as GADT with one constructor for each field. The constructors return GADT with the field type. The auxiliary data structures for this should be generated automatically via Template

Re: Local definitions in the class instances

2011-01-30 Thread Boris Lykah
internals a little and would like to learn more. When I finish my diploma paper, I can try to implement some extensions which the community considers useful. On Thu, Jan 27, 2011 at 8:02 PM, Nick Bowler nbow...@elliptictech.com wrote: On 2011-01-27 13:07 +0200, Boris Lykah wrote: I think it would

Local definitions in the class instances

2011-01-27 Thread Boris Lykah
I think it would be convenient to allow adding variables and functions, which are not members of the class, to a class instance so that they are visible only in the instance scope. It will help if the same functions are used by several class functions. Example: When implementing Num class for my