Aoc library

This commit is contained in:
Christoph Stahl 2022-12-13 16:44:54 +01:00
parent 6a01c6ff92
commit 840b7407b8

3
Aoc.hs Normal file
View file

@ -0,0 +1,3 @@
module Aoc (splitOn) where
splitOn c l|(h,_:t)<-span(/=c) l=h:splitOn c t|let=[l]