i wish there were this in CAL :-)

5 views
Skip to first unread message

Raoul Duke

unread,
May 7, 2010, 2:06:02 PM5/7/10
to CAL Language Discussion
very cool tool for hadooping:

http://nathanmarz.com/blog/introducing-cascalog/

because i think it could be even nicer if one could leverage type
inference in the query building as well somehow.

--
You received this message because you are subscribed to the Google Groups "CAL Language Discussion" group.
To post to this group, send email to cal_la...@googlegroups.com.
To unsubscribe from this group, send email to cal_language...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cal_language?hl=en.

Luke

unread,
May 12, 2010, 2:41:29 PM5/12/10
to CAL Language Discussion
You could start by building a combinator library suitable for
combining together a query (in a type-safe way).

While this is only one instance of doing this (having a certain
flavour) , the included SQL library in Open Quark might be
interesting.
Open Quark also has a SqlParser library that parses a particular SQL
query into an instance of a SQL query in terms of the SQL model. Of
course, you can also get a particular model to write itself out as a
SQL query (SELECT) syntax via a particular SQLBuilder.

Monads are often used to create domain specific embedded 'languages',
providing a nice encapsulation and interface to the backplane language
(e.g. the rest of CAL).
Reply all
Reply to author
Forward
0 new messages