Aoc library
This commit is contained in:
parent
6a01c6ff92
commit
840b7407b8
1 changed files with 3 additions and 0 deletions
3
Aoc.hs
Normal file
3
Aoc.hs
Normal file
|
@ -0,0 +1,3 @@
|
|||
module Aoc (splitOn) where
|
||||
|
||||
splitOn c l|(h,_:t)<-span(/=c) l=h:splitOn c t|let=[l]
|
Loading…
Add table
Reference in a new issue