Visual Haskell: A First Attempt

This paper presents the Visual Haskell language. Visual Haskell is intended as i) a means of visualising Haskell programs, and ii) as a complementary programming notation to standard Haskell. The syntax of Visual Haskell is speciied by rst giving a translation from Haskell into an intermediate, textual form; the visual syntax is then speciied as a direct translation from the intermediate form into visual representations. Visual Haskell is kept as close to Haskell as possible, in the hope that it could be used in a \two-view" programming system. Several examples of function deenitions illustrate how Visual Haskell looks and is used. Visual Haskell is incomplete, lacking syntax for modules, type declarations, type classes and instances, arrays, and user-deened operators. These are seen as temporary omissions rather than insurmountable drawbacks.

[1]  J. Rasure,et al.  Data flow visual languages , 1992, IEEE Potentials.

[2]  Edward A. Lee,et al.  Gabriel: a design environment for DSP , 1989, IEEE Trans. Acoust. Speech Signal Process..

[3]  Chris Reade,et al.  Elements of functional programming , 1989, International computer science series.

[4]  Richard S. Bird,et al.  A calculus of functions for program derivation , 1990 .

[5]  Simon L. Peyton Jones,et al.  The Implementation of Functional Programming Languages , 1987 .

[6]  Paul H. J. Kelly Functional programming for loosely-coupled multiprocessors , 1989, Research monographs in parallel and distributed computing.

[7]  Eric J. Golin,et al.  Enhancing Show-and-Tell with a polymorphic type system and higher-order functions , 1990, Proceedings of the 1990 IEEE Workshop on Visual Languages.