1,582 research outputs found

    The Essence of Nested Composition

    Get PDF
    Calculi with disjoint intersection types support an introduction form for intersections called the merge operator, while retaining a coherent semantics. Disjoint intersections types have great potential to serve as a foundation for powerful, flexible and yet type-safe and easy to reason OO languages. This paper shows how to significantly increase the expressive power of disjoint intersection types by adding support for nested subtyping and composition, which enables simple forms of family polymorphism to be expressed in the calculus. The extension with nested subtyping and composition is challenging, for two different reasons. Firstly, the subtyping relation that supports these features is non-trivial, especially when it comes to obtaining an algorithmic version. Secondly, the syntactic method used to prove coherence for previous calculi with disjoint intersection types is too inflexible, making it hard to extend those calculi with new features (such as nested subtyping). We show how to address the first problem by adapting and extending the Barendregt, Coppo and Dezani (BCD) subtyping rules for intersections with records and coercions. A sound and complete algorithmic system is obtained by using an approach inspired by Pierce\u27s work. To address the second problem we replace the syntactic method to prove coherence, by a semantic proof method based on logical relations. Our work has been fully formalized in Coq, and we have an implementation of our calculus

    Ethical climate in a Belgian psychiatric inpatient setting: relation with burnout and engagement in psychiatric nurses

    Get PDF
    Research suggests a relation between the ethical climate – that is, the organisational conditions and practices that affect the way ethical issues with regard to patient care are discussed and decided - and job satisfaction of nurses. Yet no study to date has investigated the relationship between ethical climate and job satisfaction in psychiatric nurses. This study aimed to address this critical gap in our knowledge by investigating the relationships among ethical climate and features of both burnout and engagement based on the Job Demands-Resources Model (JD - R model) in a large cross-sectional study of 265 nurses working in a large psychiatric inpatient hospital in Flanders, Belgium. Correlational and multiple hierarchical regression analyses were used to investigate the relationship between ethical climate, burnout and engagement. In addition, based on the JD-R model, we also investigated whether engagement mediated the relationship between ethical climate on the one hand and job satisfaction and turnover intention on the other and whether ethical climate moderated the relationship between emotional burden and burnout. Results showed that a positive ethical climate was related to lower levels of emotional exhaustion and distancing and higher levels of engagement and job satisfaction. Furthermore, although ethical climate did not buffer against the effects of emotional burden on burnout, higher levels of engagement explained in part the relationship between ethical climate and job satisfaction

    Row and Bounded Polymorphism via Disjoint Polymorphism

    Get PDF
    Polymorphism and subtyping are important features in mainstream OO languages. The most common way to integrate the two is via ?_{< :} style bounded quantification. A closely related mechanism is row polymorphism, which provides an alternative to subtyping, while still enabling many of the same applications. Yet another approach is to have type systems with intersection types and polymorphism. A recent addition to this design space are calculi with disjoint intersection types and disjoint polymorphism. With all these alternatives it is natural to wonder how they are related. This paper provides an answer to this question. We show that disjoint polymorphism can recover forms of both row polymorphism and bounded polymorphism, while retaining key desirable properties, such as type-safety and decidability. Furthermore, we identify the extra power of disjoint polymorphism which enables additional features that cannot be easily encoded in calculi with row polymorphism or bounded quantification alone. Ultimately we expect that our work is useful to inform language designers about the expressive power of those common features, and to simplify implementations and metatheory of feature-rich languages with polymorphism and subtyping

    Exploiting Term Hiding to Reduce Run-time Checking Overhead

    Full text link
    One of the most attractive features of untyped languages is the flexibility in term creation and manipulation. However, with such power comes the responsibility of ensuring the correctness of these operations. A solution is adding run-time checks to the program via assertions, but this can introduce overheads that are in many cases impractical. While static analysis can greatly reduce such overheads, the gains depend strongly on the quality of the information inferred. Reusable libraries, i.e., library modules that are pre-compiled independently of the client, pose special challenges in this context. We propose a technique which takes advantage of module systems which can hide a selected set of functor symbols to significantly enrich the shape information that can be inferred for reusable libraries, as well as an improved run-time checking approach that leverages the proposed mechanisms to achieve large reductions in overhead, closer to those of static languages, even in the reusable-library context. While the approach is general and system-independent, we present it for concreteness in the context of the Ciao assertion language and combined static/dynamic checking framework. Our method maintains the full expressiveness of the assertion language in this context. In contrast to other approaches it does not introduce the need to switch the language to a (static) type system, which is known to change the semantics in languages like Prolog. We also study the approach experimentally and evaluate the overhead reduction achieved in the run-time checks.Comment: 26 pages, 10 figures, 2 tables; an extension of the paper version accepted to PADL'18 (includes proofs, extra figures and examples omitted due to space reasons

    How companies improve critical raw materials circularity: IRTC-Business Workshop co-organised with the EU Raw Materials Week

    Get PDF
    The workshop “How companies improve critical raw materials criticality” was co-organized by the International Round Table on Materials Criticality in its current project IRTC-Business. After IRTC had investigated the potential of circular strategy to mitigate criticality of critical raw materials in earlier events, discussions and publications, the workshop aimed at understanding concrete applications of circular strategies, in order to identify their drivers and hurdles. For this, a variety of companies were invited to present their business models.Industrial Ecolog

    The clinical and immunological basis of early food introduction in food allergy prevention

    Get PDF
    IgE-mediated food allergy has an estimated prevalence of 6%–10% in developed countries. Allergen avoidance has long been the main focus in the prevention of food allergy and late solid food introduction after 6–12 months of age was recommended in high-risk infants. However, the rising prevalence of food allergy despite delayed exposure to allergens and the observations that IgE-mediated sensitization to food products could even occur before the introduction of solid foods resulted in a shift towards early solid food introduction as an attempt to prevent IgE-mediated food allergy. Since then, many trials focused on the clinical outcome of early allergen introduction and overall seem to point to a protective effect on the development of IgE-mediated food allergies. For non-IgE-mediated diseases of food allergy, evidence of early food introduction seems less clear. Moreover, data on the underlying immunological processes in early food introduction is lacking. The goal of this review is to summarize the available data of immunological changes in early food introduction to prevent IgE and non-IgE mediated food allergy
    • …
    corecore