8,561 research outputs found

    Clone Detection and Elimination for Haskell

    Get PDF
    Duplicated code is a well known problem in software maintenance and refactoring. Code clones tend to increase program size and several studies have shown that duplicated code makes maintenance and code understanding more complex and time consuming. This paper presents a new technique for the detection and removal of duplicated Haskell code. The system is implemented within the refactoring framework of the Haskell Refactorer (HaRe), and uses an Abstract Syntax Tree (AST) based approach. Detection of duplicate code is automatic, while elimination is semi-automatic, with the user managing the clone removal. After presenting the system, an example is given to show how it works in practice

    Detection of Water Ice on the Centaur 1997 CU_(26)

    Get PDF
    We report the detection of the 1.5 and 2.0 μm absorption bands due to water ice in the near-infrared reflection spectrum of the Centaur 1997 CU_(26), which is currently located just outside the heliocentric distance of Saturn. The water ice bands are weaker than those detected on the surface of any other solar system body; the spectrum is well fit with a model surface consisting predominantly of a neutral dark absorbing substance with only ~3% areal coverage of water ice. The spectrum thus appears very different from that of the Centaur 5140 Pholus, although both objects are of similar brightness and are at similar heliocentric distances

    Extending the CRESST-II commissioning run limits to lower masses

    Full text link
    Motivated by the recent interest in light WIMPs of mass ~O(10 GeV), an extension of the elastic, spin-independent WIMP-nucleon cross-section limits resulting from the CRESST-II commissioning run (2007) are presented. Previously, these data were used to set cross-section limits from 1000 GeV down to ~17 GeV, using tungsten recoils, in 47.9 kg-days of exposure of calcium tungstate. Here, the overlap of the oxygen and calcium bands with the acceptance region of the commissioning run data set is reconstructed using previously published quenching factors. The resulting elastic WIMP cross section limits, accounting for the additional exposure of oxygen and calcium, are presented down to 5 GeV.Comment: 4 pages, 4 figure

    Income Rank and Upward Comparisons

    Get PDF
    Many studies have argued that relative income predicts individual well-being. More recently, it has been suggested that the relative rank of an individual’s income, rather than how that income compares to a mean or reference income, is important. Here the relative rank hypothesis is examined along with the additional hypothesis that individuals compare their incomes predominantly with those of slightly higher earners. A study of over 12,000 British adults using the British Household Panel Survey (a) confirms the importance of rank and (b) finds evidence that individuals compare upwards and to those most similar. This paper appears to be the first to show in fixed effect well-being equations that the influence of rank is more important than the influence of relative pay.Rank ; social comparison ; life satisfaction ; relative income ; BHPS