ソースを参照

whoops deleted stray file

master
Thorn Avery 3年前
コミット
c1c14a1fe9
1個のファイルの変更0行の追加6行の削除
  1. +0
    -6
      split.hs

+ 0
- 6
split.hs ファイルの表示

@@ -1,6 +0,0 @@
split :: Eq a => a -> [a] -> [[a]]
split _ [] = []
split d as = chunk : (split d rest)
where
chunk = takeWhile (/= d) as
rest = drop 1 $ dropWhile (/= d) as

読み込み中…
キャンセル
保存