small fix
authorMart Lubbers <mart@martlubbers.net>
Wed, 16 Mar 2016 10:23:19 +0000 (11:23 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 16 Mar 2016 10:23:19 +0000 (11:23 +0100)
deliverables/p1/p1.tex
examples/example.spl
spl.prj

index 67a14b0..cdd46f5 100644 (file)
@@ -96,6 +96,7 @@ eof :: Parser a Void
 \begin{frame}[fragile]
        \frametitle{Two-phase design}
        \framesubtitle{Parsing}
+       Read from stdin, write to stdout\\
        Added some handy primitives
        \begin{lstlisting}
 parseBlock :: Parser Token [Stmt]
index b4efb27..6cebe90 100644 (file)
@@ -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)){
diff --git a/spl.prj b/spl.prj
index b0e9413..16f0a01 100644 (file)
--- a/spl.prj
+++ b/spl.prj
@@ -112,6 +112,20 @@ OtherModules
                        ReadableABC:    False
                        ReuseUniqueNodes:       True
                        Fusion: False
+       Module
+               Name:   _SystemDynamic
+               Dir:    {Application}/lib/Dynamics
+               Compiler
+                       NeverMemoryProfile:     False
+                       NeverTimeProfile:       False
+                       StrictnessAnalysis:     True
+                       ListTypes:      StrictExportTypes
+                       ListAttributes: True
+                       Warnings:       True
+                       Verbose:        True
+                       ReadableABC:    False
+                       ReuseUniqueNodes:       True
+                       Fusion: False
        Module
                Name:   GenEq
                Dir:    {Application}/lib/Generics
@@ -618,7 +632,7 @@ OtherModules
                        Fusion: False
        Module
                Name:   System.OS
-               Dir:    {Application}/lib/clean-platform/OS-Mac
+               Dir:    {Application}/lib/clean-platform/OS-Linux-64
                Compiler
                        NeverMemoryProfile:     False
                        NeverTimeProfile:       False