Domain-specific embedded languages (DSELs) expressed in higher-order, typed (HOT) languages provide a composable framework/or domain-specific abstractions. Such a framework is o] greater utilsty than a collectwn o/stand-alone domain-specific languages. Usually, embedded domain speczfic languages are build on top o] a set o] domain specific primitwe ]unctions that are ultimately implemented using some ]orm o/]oreign ]unction call. We sketch a general design pattern/or embedding chent-server style services into Haskell using a domare specific embedded compiler /or the server's source language. In particular we apply this idea to implement Haskell/DB, a domain specific embdedded compiler that dynamically generates o/SQL queries #ore monad comprehensions, which are then executed on an arbitrary ODBC database server.
This paper reports stated preferences of Dutch workers for combinations of housing, employment, and commuting. The analysis uses standard logit models as well as mixed logit models. Estimation results offer insights into the relative importance of various aspects of housing, employment, and commuting. Households dislike commuting and the value of commuting time implied by the model is high in comparison to the wage rate. Nevertheless, preferences for some housing attributes are strong enough to make substantially longer commuting acceptable to most workers. Of special interest is the strong preference for living in small-or medium-size cities, especially among two income households. Using a mixed logit model instead of a standard logit model results in a substantial improvement of the loglikelihood, reflecting the importance of heterogeneity among respondents. If no individual characteristics are incorporated into the model, the mixed logit implies substantially lower average monetary evaluations of most attributes. These differences are much smaller if some individual characteristics are incorporated into the model. Copyright 2001 Blackwell Publishers
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.