September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
3
Task/Substring/Haskell/substring-1.hs
Normal file
3
Task/Substring/Haskell/substring-1.hs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
t45 n c s | null sub = []
|
||||
| otherwise = take n. head $ sub
|
||||
where sub = filter(isPrefixOf c) $ tails s
|
||||
Loading…
Add table
Add a link
Reference in a new issue