started on cleaner unit tests
This commit is contained in:
parent
accbd4eea6
commit
05333c5689
2 changed files with 78 additions and 93 deletions
9
tests/DoStrings.hs
Normal file
9
tests/DoStrings.hs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
module DoStrings where
|
||||
|
||||
import Prelude hiding ((>>), (>>=))
|
||||
|
||||
(>>) :: String -> String -> String
|
||||
(>>) str1 str2 = str1 ++ "\n" ++ str2
|
||||
|
||||
(>>=) :: String -> (String -> String) -> String
|
||||
(>>=) str f = f str
|
||||
Loading…
Add table
Add a link
Reference in a new issue