Permalink
Browse files

make program into a library, also uppercase

  • Loading branch information...
daxim committed Apr 4, 2011
1 parent 856b311 commit 43efbe5316d527fea90423ca48fa1530fbc5ecfe
Showing with 5 additions and 3 deletions.
  1. +1 −1 .gitignore
  2. +2 −2 Makefile
  3. +2 −0 mastermind.hs → Mastermind.hs
View
@@ -1,3 +1,3 @@
*.hi
*.o
-mastermind
+Mastermind
View
@@ -1,5 +1,5 @@
all :
- ghc --make -Wall mastermind.hs
+ ghc --make -Wall Mastermind.hs
clean :
- rm -f mastermind mastermind.hi mastermind.o
+ rm -f Mastermind Mastermind.hi Mastermind.o
@@ -1,3 +1,5 @@
+module Mastermind (reds, whites) where
+
{- my (=ε/2) haskellous version of the game called mastermind -}
import Data.List.Split (splitOneOf)

0 comments on commit 43efbe5

Please sign in to comment.