Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 committed Jul 11, 2013
1 parent 0ee07f9 commit 71dee73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TestHopfield.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ configs = [ Config Hebbian 100
, Config Storkey 30
]

-- forAllMethods :: (Config -> Spec) -> Core.Type.SpecM ()
forAllMethods :: (Config -> Spec) -> Spec
forAllMethods testFun = forM_ configs $ \conf@Config {method, maxPatSize} ->
describe (show method ++ " " ++ show maxPatSize) $ do
testFun conf
Expand Down

0 comments on commit 71dee73

Please sign in to comment.