1
0
forked from GitHub/gf-core

Added list patterns. Added som simple prelude functions.

This commit is contained in:
bringert
2005-12-01 17:27:06 +00:00
parent e1d8b9c535
commit a7af7bc384
12 changed files with 890 additions and 705 deletions

View File

@@ -0,0 +1,6 @@
import prelude
l1 = append ? [1,2,3,5,6] [3]
l2 = 2 :: l1
main = rec { x = length ? l2; y = l2}