nntpnews.net

Global Usenet Archiver


Register

[Haskell-cafe] haskelldb in-memory driver?

Reply

  #1  
Old 07-02-10, 03:44 PM
Johannes Waldmann
 
Posts: n/a
Default [Haskell-cafe] haskelldb in-memory driver?

Is there a haskelldb-driver that works with a datasource
that is in memory, as a Haskell object?
(like LINQ can work on C# collections) - J.



_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
Code:
Content visible to registered users only.
iEYEARECAAYFAktu3+MACgkQDqiTJ5Q4dm/LpgCdEfUUrIw5YE3LCfBljTrMU822
fo8AoJN3S3drNiR9ytAD9pe1a8hwre+q
=9tzB
-----END PGP SIGNATURE-----

Reply With Quote
  #2  
Old 09-02-10, 01:21 PM
Günther Schmidt
 
Posts: n/a
Default [Haskell-cafe] Re: haskelldb in-memory driver?

Hello Johannes,

no, sorry, HaskellDB is only meant for RDBM back ends, it eventually
generates SQL (Strings).

I tried to create an EDSL for relational algebra in the finally tagless
style. This would theoretically allow to create entirely abstract
expressions which could then be evaluated to either SQL or in-memory
code or whatever.
Of course I don't even know how to get started and at the moment it's on
the very top of my wish-list because I really need it badly.
All my code eventually turned into spaghetti code and without being able
to express the algorithm abstractly(but correctly) and decide on
implementation later I don't think will even try to untangle my mess,
because at least it works.

Günther


Am 07.02.10 16:44, schrieb Johannes Waldmann:
> Is there a haskelldb-driver that works with a datasource
> that is in memory, as a Haskell object?
> (like LINQ can work on C# collections) - J.
>
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
>
Code:
Content visible to registered users only.
>
Code:
Content visible to registered users only.




_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
  #3  
Old 09-02-10, 01:33 PM
Colin Paul Adams
 
Posts: n/a
Default Re: [Haskell-cafe] Re: haskelldb in-memory driver?

>>>>> "Günther" == Günther Schmidt <gue.schmidt@web.de> writes:

Günther> Hello Johannes, no, sorry, HaskellDB is only meant for RDBM
Günther> back ends, it eventually generates SQL (Strings).

I recall that there WAS an experimental in-memory backend.
--
Colin Adams
Preston Lancashire
_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
  #4  
Old 09-02-10, 02:04 PM
Günther Schmidt
 
Posts: n/a
Default [Haskell-cafe] Re: haskelldb in-memory driver?

Hello,

for completeness there is also CoddFish, which is not based on
HaskellDB, but rather on Oleg's HList.

Günther


Am 09.02.10 14:33, schrieb Colin Paul Adams:
>>>>>> "Günther" == Günther Schmidt<gue.schmidt@web.de> writes:

>
> Günther> Hello Johannes, no, sorry, HaskellDB is only meant for RDBM
> Günther> back ends, it eventually generates SQL (Strings).
>
> I recall that there WAS an experimental in-memory backend.




_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
  #5  
Old 09-02-10, 02:07 PM
Ivan Panachev
 
Posts: n/a
Default Re: [Haskell-cafe] haskelldb in-memory driver?

On Sun, Feb 7, 2010 at 6:44 PM, Johannes Waldmann <
Code:
Content visible to registered users only.
> wrote:

> Is there a haskelldb-driver that works with a datasource
> that is in memory, as a Haskell object?
> (like LINQ can work on C# collections) - J.
>
>

SQLite could make it, take a look at
Code:
Content visible to registered users only.
_______________________________________________
Haskell-Cafe mailing list
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Haskell-cafe] Using HaskellDB on Tables that contain same columnnames R. Emre BaÅŸar fa.haskell 1 02-11-09 04:10 PM
[Haskell-cafe] haskelldb and Debian Joachim Breitner fa.haskell 1 07-09-09 08:51 PM
[Haskell-cafe] haskelldb + sqlite problem. Magicloud Magiclouds fa.haskell 8 05-09-09 08:02 AM
[Haskell-cafe] Could someone give me a sample about haskelldb? Magicloud Magiclouds fa.haskell 2 19-06-09 12:33 PM
[Haskell-cafe] HaskellDB is alive? Felipe Lessa fa.haskell 3 16-02-09 04:26 PM


All times are GMT +1. The time now is 09:27 AM. Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0



For ads on this site use independent advertising companies. These companies may use some data (which does not include your name, address, email address or telephone number) about your visits to this and other websites to create advertisements on products and services you might enjoy. If you'd like more information and to know the options available to prevent the use of such information by these companies, click here

Abuse Ticket System