daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. insertAt :: a-> [a] -> Int -> [a]
  2. insertAt x xs n = let (ys,zs) = split xs (n-1) in ys++x:zs
RAW Paste Data
Top