TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using Haskell at SQream Technologies

70 pointsby Toshioover 11 years ago

4 comments

thinkpad20over 11 years ago
Looks really interesting. I wrote an SQL parser and compiler frontend for a SQLite-style database last summer. I started off in C using Lex&#x2F;Yacc, but for the last piece of the project I used Haskell. This step was to take SRA (&quot;sugared relational algebra&quot;), which is essentially a transition step between SQL and simple relational algebra, and desugar it into relational algebra. The code is up at <a href="https://github.com/thinkpad20/sql" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;thinkpad20&#x2F;sql</a> if anyone is interested, with the code for that portion being contained in the haskell folder. I might translate the whole thing into Haskell (maybe using Attoparsec) at some point.<p>I was curious that you used a different version of relational algebra than the one I had been taught. I&#x27;ve usually seen RA described in terms of six fundamental operators: Project (pi), Select (sigma), Rename (rho), Cross Product, Union and Difference. What gave rise to the model you chose?<p>Anyway, it&#x27;s great to see that more people are using Haskell. I would love to be able to work in it some day.
评论 #6472020 未加载
Ixiausover 11 years ago
<i>I think it is worth taking the risk to use a relatively unusual and unproven technology.</i><p>should be:<p><i>I think it is worth taking the risk to use a relatively unusual technology.</i>
评论 #6470765 未加载
pnathanover 11 years ago
Why is using Haskell a risk? It&#x27;s not a proprietary system where the company might shut down.
评论 #6472144 未加载
评论 #6470899 未加载
raphinouover 11 years ago
It would be interesting to know if the devs there are long time haskell developers, or if new hires could easily be trained in haskell.
评论 #6471583 未加载