This paper introduces a language extension, called implicit parameters, for Hindley-Milner-typed programming languages that provides dynamically scoped variables within a statically typed framework. Implicit parameters are lexically distinct from regular identifiers, and are bound by a special with construct whose scope is dynamic, rather than static as with let. Implicit parameters are treated by the type system as parameters that are not explicitly declared, but are inferred from their use. We present implicit parameters using a small Hindley-Milner calculus. We give a type system, a type inference algorithm, and several semantics. In addition, we have also built an experimental extension to the Hugs 98 Haskell interpreter that implement...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...
We present an extension of a statically typed language with a special type Dynamic and explicit type...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...
In almost all languages arguments to functions are to be given explicitly in the program text. There...
Implicit parameters are used pervasively in Scala and are also present in a number of other programm...
Type classes were originally developed in Haskell as a disciplined alternative to ad-hoc polymorphis...
Although the functional programming language Haskell has a powerful type class system, users frequen...
In this work we describe both a type checking and a type inference algorithm for generic programming...
AbstractConstrained genericity is an extension of parametric polymorphism, that allows type paramete...
Static typing is one of the most prominent techniques in the design of programming languages for mak...
We present an extension of a statically typed language with a special type Dynamic and explicit type...
Statically typed programming languages allow earlier error checking, better enforcement of disciplin...
technical reportWe contribute to the state of the art in static analysis of declarative languages wi...
There are situations in programmingwhere some dynamic typing is needed, even in the presence of adva...
Abstract. Generic programming, a form of abstraction in programming lan-guages that serves to reduce...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...
We present an extension of a statically typed language with a special type Dynamic and explicit type...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...
In almost all languages arguments to functions are to be given explicitly in the program text. There...
Implicit parameters are used pervasively in Scala and are also present in a number of other programm...
Type classes were originally developed in Haskell as a disciplined alternative to ad-hoc polymorphis...
Although the functional programming language Haskell has a powerful type class system, users frequen...
In this work we describe both a type checking and a type inference algorithm for generic programming...
AbstractConstrained genericity is an extension of parametric polymorphism, that allows type paramete...
Static typing is one of the most prominent techniques in the design of programming languages for mak...
We present an extension of a statically typed language with a special type Dynamic and explicit type...
Statically typed programming languages allow earlier error checking, better enforcement of disciplin...
technical reportWe contribute to the state of the art in static analysis of declarative languages wi...
There are situations in programmingwhere some dynamic typing is needed, even in the presence of adva...
Abstract. Generic programming, a form of abstraction in programming lan-guages that serves to reduce...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...
We present an extension of a statically typed language with a special type Dynamic and explicit type...
Generic programming (GP) is an increasingly important trend in programming languages. Well-known GP ...