Explorar el Código

whoops deleted stray file

master
Thorn Avery hace 3 años
padre
commit
c1c14a1fe9
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  1. +0
    -6
      split.hs

+ 0
- 6
split.hs Ver fichero

@@ -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

Cargando…
Cancelar
Guardar