From 627c93b9779f632bd8d90e7e2de26a5a9c197f08 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 4 Nov 2008 09:33:35 -0500 Subject: Nested demo --- demo/prose | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'demo/prose') diff --git a/demo/prose b/demo/prose index 3b9d9ebb..06c47722 100644 --- a/demo/prose +++ b/demo/prose @@ -54,6 +54,10 @@ form.urp

Here we see a basic form. The type system tracks which form inputs we include, and it enforces that the form handler function expects a record containing exactly those fields, with exactly the proper types.

+nested.urp + +

Here is an implementation of the tiny challenge problem from this web framework comparison. Using nested function definitions, it is easy to persist state across clicks.

+ listShop.urp

This example shows off algebraic datatypes, parametric polymorphism, and functors.

-- cgit v1.2.3