From efc7d1fda30d97e2479e0854edbf609229c5bc98 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 17 Mar 2016 13:49:32 +0100 Subject: [PATCH] up --- examples/example.spl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example.spl b/examples/example.spl index 6cebe90..b4efb27 100644 --- a/examples/example.spl +++ b/examples/example.spl @@ -84,7 +84,7 @@ append(l1, l2) :: [t] [t] -> [t] { //square the odd numbers in a list and remove the even members squareOddNumbers(list) :: [Int] -> [Int] { - while(!isEmpty (list) && list.hd % 2=0){ + while(!isEmpty (list) && list.hd % 2==0){ list=list.tl; } if(!isEmpty(list)){ -- 2.20.1