Blog Detail
Recent Posts
Minimum wage increase by other means
The employer mandate provision included in the House Democrats' bill requires employers to either provide health insurance (with upto 72.5% of the premiums) to all employees or pay an additional payroll tax. Based on the average employer-based family...
Poor Texas?
Paul Krugman ridicules the Matthew Yglesias's claim that Texas is rich due to its low taxes and less regulation because he used median income instead of per-capita income for the comparison. He goes on to point out that "free-market" Texas......
Financial vs Real investment
James Kroeger makes this ridiculous claim in the post "The New Deal Didn’t Always Work, Either":Here you are guilty of conflating the two definitions of 'investment.' Rich people, generally, do not spend money on economic investments, but only on f...
More on Haskell DSL
In an earlier post, partial make replacement, I developed a small Haskell based DSL to express GNU make like rules. In this post, I take the idea further to support multiple dependencies per target.testO = (return [\"test.c\", \"test.h\"]) ->>...
Another DSL embedded in Haskell - a partial make replacement in less than 10 lines
My earlier post on Haskell described a small DSL for calendar apps. In this post, I will show a very simple DSL (written in just 6 lines of code) to replace (a small portion of) GNU make utility. Earlier, I......
Haskell, DSL and Monad
Haskell is an amazing language. One can easily embed a DSL (domain specific language) using monad. Let's take an concrete example to illustrate the power of DSL and Monads in Haskell. I was always fascinated by a very useful, and......
