Skip to main content

Showing 1–2 of 2 results for author: Swierstra, D

Searching in archive cs. Search in all archives.
.
  1. arXiv:1612.04610  [pdf, other

    cs.PL

    A Lazy Language Needs a Lazy Type System: Introducing Polymorphic Contexts

    Authors: S. Doaitse Swierstra, Marcos Viera, Atze Dijkstra

    Abstract: Most type systems that support polymorphic functions are based on a version of System-F. We argue that this limits useful programming paradigms for languages with lazy evaluation. We motivate an extension of System-F alleviating this limitation. First, using a sequence of examples, we show that for lazily evaluated languages current type systems may force one to write a program in an unnatural w… ▽ More

    Submitted 14 December, 2016; originally announced December 2016.

    Report number: UU-CS-2016-012 ACM Class: D.3.3; D.1.1

  2. Forty hours of declarative programming: Teaching Prolog at the Junior College Utrecht

    Authors: Jurriƫn Stutterheim, Wouter Swierstra, Doaitse Swierstra

    Abstract: This paper documents our experience using declarative languages to give secondary school students a first taste of Computer Science. The course aims to teach students a bit about programming in Prolog, but also exposes them to important Computer Science concepts, such as unification or searching strategies. Using Haskell's Snap Framework in combination with our own NanoProlog library, we have deve… ▽ More

    Submitted 22 January, 2013; originally announced January 2013.

    Comments: In Proceedings TFPIE 2012, arXiv:1301.4650

    ACM Class: K.3.2; D.1.6; D.1.1; D.2.6

    Journal ref: EPTCS 106, 2013, pp. 50-62