Moved into project specific dirs, started e2 with haskell

This commit is contained in:
Dan Ballard 2011-04-01 15:35:40 -07:00
parent 76458d1f0a
commit be77f4b886
10 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
default:
mcs *.cs
mcs */*.cs
clean:
rm -r -f *.exe *.beam a.out
rm -r -f */*.exe */*.beam */a.out

View File

View File

View File

View File

View File

View File

View File

View File

6
e2/e2.hs Normal file
View File

@ -0,0 +1,6 @@
fib_count last current max sum
| current >= max = sum
| rem current 2 == 0 = fib_count current (current + last) max (sum + current)
| otherwise = fib_count current (current + last) max sum
e2 = fib_count 0 1 4000000 0