Re: Smap: Collecting small programs

From: David Powers <>
Date: Tue, 28 Oct 2014 23:10:02 +0000

This is great Michael! I’ve just had a play and uploaded a couple of programs.

Unfortunately I’ve just yesterday finished lecturing on Curry for the year, showing code but not running it because I am unable to get things installed on the theatre PCs. Doing this from a browser with Smap would be perfect… But I will let the students know they can play with the language and examples without having to install Haskell/Prolog and Curry.

One thing I would ask is
a. whether you could allow us to run the Haskell programs under Curry to demonstrate compatibility, OR
b. whether you would prefer us to put up duplicate programs under Curry and Haskell with the same goal

I would also propose to put up some programs that test the definition of the language and have different behaviour under the different Curry systems.

It would also be good for some of the discussions on the list - e.g. the recent discussions of permutation sort in Curry vs Prolog.


On 29 Oct 2014, at 3:06 am, Michael Hanus <<>> wrote:


my previous email reminded me that I wanted to announce
a web-based tool which is useful to store and run small
example Curry programs (but there is also support for
other languages like Haskell or Prolog):

*Smap*, see

With Smap, you can write (Curry) programs in a web browser,
execute them, and store them persistently (for the latter,
you have to sign up to Smap, which is easily possible).

Alternatively, it is also possible to create a URL containing
a program to be executed with Smap. For instance, the
following URL contains a definition of the classical
functional logic program "last" where Boolean equality
is used instead of a constraint in the condition:

If you click on this URL, you can see, modify, and execute
this tiny program in your web browser.

The most recent version of the Curry tutorial

uses links to Smap for all example programs.

You are invited to store your favorite (Curry/Haskell/Prolog) programs
in Smap in order to share them with others.

Suggestions to improve Smap are always welcome!

Have fun,

curry mailing list
Received on Mi Okt 29 2014 - 13:24:36 CET

This archive was generated by hypermail 2.3.0 : Di Nov 28 2023 - 07:15:14 CET