Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. concatMap' : (Monoid v) => (l : List a) -> ((le : a) -> Data.List.Elem le e -> v) -> v
  2. concatMap' [] f = neutral
  3. concatMap' (x :: xs) f = f x Here <+> (concatMap' xs (\el, p => f el $ There p))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement