Übung: split

split :: [ a ] -> ([a], [a])

-- split "foobar" = ( "foa", "obr" )

split [] = ???
split (x : xs) = 
    let ( here, there ) = split xs
    in  ( ???, ??? )


Johannes Waldmann 2004-11-30