2,552 research outputs found

    Enumerating Counter-Factual Type Error Messages with an Existing Type Checker (poster+demo)

    Get PDF
    The Hindley-Milner type system is a foundation for most statically typed functional programming languages, such as ML, OCaml and Haskell. This type system has many advantageous, but it does make type debugging hard: If a program is not well-typed, it can be difficult for the programmer to locate the cause of the type error, that is, to determine where to change the program how. Many solutions to the problem have been proposed. Here we propose a new solution with two distinctive advantages: It is easy to use for the functional programmer, because it appears to be only a minor extension of the type error messages they are already familiar with. It is easy to implement, because it does not require the implementation of a new type checker, but instead reuses any existing one as a subroutine (like [2])

    Enumerating Counter-Factual Type Error Messages with an Existing Type Checker

    Get PDF
    The type error message of a standard type checker for a functional language gives only a single location as potential cause of the type error. If that location is not the cause, which often is the case, then the type error message hardly helps in locating the real cause. Here we present a method that uses a standard type checker to enumerate locations that potentially cause the type error, each with an actual and a counter-factual type for the given location. Adding our method to existing compilers requires only limited effort but improves type error debugging substantially

    Comparative study of manufacturing techniques for coronagraphic binary pupil masks: masks on substrates and free-standing masks

    Full text link
    We present a comparative study of the manufacture of binary pupil masks for coronagraphic observations of exoplanets. A checkerboard mask design, a type of binary pupil mask design, was adopted, and identical patterns of the same size were used for all the masks in order that we could compare the differences resulting from the different manufacturing methods. The masks on substrates had aluminum checkerboard patterns with thicknesses of 0.1/0.2/0.4/0.8/1.6μ\mum constructed on substrates of BK7 glass, silicon, and germanium using photolithography and chemical processes. Free-standing masks made of copper and nickel with thicknesses of 2/5/10/20μ\mum were also realized using photolithography and chemical processes, which included careful release from the substrate used as an intermediate step in the manufacture. Coronagraphic experiments using a visible laser were carried out for all the masks on BK7 glass substrate and the free-standing masks. The average contrasts were 8.4×108\times10^{-8}, 1.2×107\times10^{-7}, and 1.2×107\times10^{-7} for the masks on BK7 substrates, the free-standing copper masks, and the free-standing nickel masks, respectively. No significant correlation was concluded between the contrast and the mask properties. The high contrast masks have the potential to cover the needs of coronagraphs for both ground-based and space-borne telescopes over a wide wavelength range. Especially, their application to the infrared space telescope, SPICA, is appropriate.Comment: 21 pates, 12 figures, 2 tables, accepted to PAS

    Buddhism and Suicide: Voluntary Death and Its Philosophy

    Get PDF
    Japan, one of the leading industrial countries, has had one of the world’s highest suicide rates for years. This paper in its present form is a shortened version for publication in Assumption University’s journal “Prajna Vihara”. Since the limitation of space to 20 pages prevented a more exhaustive treatment of each chapter, this abbreviated version partially summarises Chapter 3 of my master’s dissertation, Ambiguity of Karmic Fate and Voluntary Death: Suicide Cases in Theravada Buddhism and Japanese Society. This concise version thus analyses the statistics of suicides followed by references to the unique methods employed and phenomena related to suicide in modern Japanese society. In addition, it examines particular acts of voluntary death in Japan with reference to their cultural, religious, and philosophical aspects. Japan has some unique tendencies in regard to the prevalence of suicide and an ‘aesthetics’ or philosophy of death. Hopefully the findings in this paper can contribute practical guidelines which can be applied to the social problems surrounding suicide while promoting the right attitudes towards life not only in Japan, but in the whole world

    An Inter-Regional Comparison of the Practice of Islam through Art Education

    Get PDF

    Effect of Language Contact on Hawaiian: A Brief Review

    Get PDF
    corecore