3,956 research outputs found
Type-Directed Weaving of Aspects for Higher-order Functional Languages
Aspect-oriented programming (AOP) has been shown to be a useful model for software development. Special care must be taken when we try to adapt AOP to strongly typed functional languages which come with features like a type inference mechanism, polymorphic types, higher-order functions and type-scoped pointcuts. Our main contribution lies in a seamless integration of these two paradigms through a static weaving process which deals with around advices with type-scoped pointcuts in the presence of higher-order functions. We give a source-level type inference system for a higher-order, polymorphic language coupled with type-scoped pointcuts. The type system ensures that base programs are oblivious to the type of around advices. We present a type-directed translation scheme which resolves all advice applications at static time. The translation removes advice declarations from source programs and produces translated code which is typable in the Hindley-Milner system
On the Pursuit of Static and Coherent Weaving
Aspect-oriented programming (AOP) has been shown to be a useful
model for software development. Special care must be taken
when we try to adapt AOP to strongly typed functional languages
which come with features like type inference mechanism, polymorphic
types, higher-order functions and type-scoped pointcuts.
Specifically, it is highly desirable that weaving of aspect-oriented
functional programs can be performed statically and coherently. In
[13], we showed a type-directed weaver which resolves all advice
chainings coherently at static time. The novelty of this paper lies in
the extended framework which supports static and coherent weaving
in the presence of polymorphic recursive functions, advising
advice bodies and higher-order advices
The demand for lottery expenditure in Taiwan: a quantile regression approach
This paper is a pioneering attempt to apply the quantile regression method (QRM) to the demand for lottery expenditure in order to consider the extreme behavior of lottery expenditure as well as clarify the diverse results obtained from previous studies on lottery expenditure. The results of this study reveal that there exists a complementary correlation both between benevolent donations and lottery expenditure, and between entertainment expenditure and lottery expenditure. By contrast, the results from using OLS reveal that benevolent donations do not have a significant impact on lottery expenditure and that entertainment expenditure does not have a negative impact on lottery expenditure. Besides, expenditure on cigarettes and alcohol is found to have a positive impact on lottery expenditure, which coincides with the results of Balabanis (2002).
Stock Market Interdependence and Trade Relations: A Correlation Test for the U.S. and Its Trading Partners
Based on the well-established trade relations between the U.S. and its major trading partners, this paper examines the robustness of the trade relation hypothesis which, in some recent studies, argues that difference in trade relations among countries can significantly explain difference in the stock market interdependence. The generalized VDC analysis is employed to measure the stock market interdependence, and the correlation test with bootstrap procedure is applied to test the hypothesis. The results indicate that the hypothesis is hardly as a general rule.
An Examination of the Relationships among Budget Emphasis, Budget Planning Models and Performance
[[abstract]]Purpose – This study aims to investigate the relationships among budget emphasis, budget planning models, and performance, to determine whether an emphasis on the budget has indirect effects on performance, in the presence of other budget planning characteristics as mediators.
Design/methodology/approach – A questionnaire survey was conducted and structural equation modeling was used to test the proposed models among the constructs and related hypotheses.
Findings – The results indicate that while budget planning models entirely mediate the influence of budget emphasis on the performance of management and the organization, they partially mediate the influence of budget emphasis on budget satisfaction. In addition, it is determined that differentiation strategies have a significantly positive influence on budget emphasis, budget planning models and performance.
Originality/value – The results of this study provide a reference for organizations in the design of budgeting systems. During the design process, budget planning models should consider the degree of emphasis an organization places on the budget.[[incitationindex]]SSCI[[booktype]]紙
Body Mass Index–Mortality Relationship in Severe Hypoglycemic Patients With Type 2 Diabetes
AbstractBackgroundHypoglycemia is associated with a higher risk of death. This study analyzed various body mass index (BMI) categories and mortalities of severe hypoglycemic patients with type 2 diabetes mellitus (DM) in a hospital emergency department.MethodsThe study included 566 adults with type 2 diabetes who were admitted to 1 medical center in Taiwan between 2008 and 2009 with a diagnosis of severe hypoglycemia. Mortality data, demographics, clinical characteristics and the Charlson’s Comorbidity Index were obtained from the electronic medical records. Patients were stratified into 4 study groups as determined by the National institute of Health (NiH) and World Health organization classification for BMi, and the demographics were compared using the analysis of variance and χ2 test. Kaplan-Meier’s analysis and the Cox proportional-hazards regression model were used for mortality, and adjusted hazard ratios were adjusted for each BMi category among participants.ResultsAfter controlling for other possible confounding variables, BMI <18.5 kg/m2 was independently associated with low survival rates in the Cox regression analysis of the entire cohort of type 2 DM patients who encountered a hypoglycemic event. Compared to patients with normal BMI, the mortality risk was higher (adjusted hazard ratios = 4.9; 95% confidence interval [CI] = 2.4-9.9) in underweight patients. Infection-related causes of death were observed in 101 cases (69.2%) and were the leading cause of death.ConclusionsAn independent association was observed between BMI less than 18.5 kg/m2 and mortality among type 2 DM patient with severe hypoglycemic episode. Deaths were predominantly infection related
Improved photovoltaic characteristics of amorphous Si thin-film solar cells containing nanostructure silver conductors fabricated using a non-vacuum process
- …
