September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,5 +1,2 @@
|
|||
import Control.Monad
|
||||
import Control.Arrow
|
||||
|
||||
*Main> map (ap (,) (flip elemIndex haystack)) needles
|
||||
*Main> ((,) <*> flip elemIndex haystack) <$> needles
|
||||
[("Washington",Nothing),("Bush",Just 4)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue