Typo: sieve/seive
authorJoachim Breitner <mail@joachim-breitner.de>
Fri, 10 Sep 2010 15:20:57 +0000 (15:20 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Fri, 10 Sep 2010 15:20:57 +0000 (15:20 +0000)
b18n-combined-cgi.hs
example/seive.txt [deleted file]
example/sieve.txt [new file with mode: 0644]

index e0141d9..fbb5dbf 100644 (file)
@@ -202,10 +202,10 @@ examples =
                , "initHalfWork(Cons(a,x), Cons(b,Cons(c,y)))"
                , "                    = Cons(a,initHalfWork(x,y))"
                ])
-       , ("seive", unlines
-               [ "seive (Nil)               = Nil"
-               , "seive (Cons(a,Nil))       = Nil"
-               , "seive (Cons(a,Cons(b,x))) = Cons(b,seive(x))"
+       , ("sieve", unlines
+               [ "sieve (Nil)               = Nil"
+               , "sieve (Cons(a,Nil))       = Nil"
+               , "sieve (Cons(a,Cons(b,x))) = Cons(b,sieve(x))"
                ])
        , ("rev", unlines
                [ "reverse(xs) = rev(xs,Nil)"
diff --git a/example/seive.txt b/example/seive.txt
deleted file mode 100644 (file)
index e6d3fff..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-seive (Nil)               = Nil
-seive (Cons(a,Nil))       = Nil
-seive (Cons(a,Cons(b,x))) = Cons(b,seive(x))
diff --git a/example/sieve.txt b/example/sieve.txt
new file mode 100644 (file)
index 0000000..3414bc2
--- /dev/null
@@ -0,0 +1,3 @@
+sieve (Nil)               = Nil
+sieve (Cons(a,Nil))       = Nil
+sieve (Cons(a,Cons(b,x))) = Cons(b,sieve(x))