-
Notifications
You must be signed in to change notification settings - Fork 0
Week 3
jovanhan2 edited this page Nov 8, 2018
·
2 revisions
Most linters are simply checking
- styling(tabs, spaces)
What is Monad?
Find and match:
mapM, foldM, forM, replicateM, sequence, zipWithM
not at the last line of a do statement, or to the left of >>
Use let x = y instead of x <- return y, unless x is contained
within y, or bound more than once in that do block.
<TEST>
yes = do mapM print a; return b -- mapM_ print a
yes = do _ <- mapM print a; return b -- mapM_ print a
no = mapM print a
no = do foo ; mapM print a
yes = do (bar+foo) -- (bar+foo)
-
Research
-
Implementation
-
Weekly Reports
-
Meeting Feedback