code: function mconcat(m, xs) {
    if(!isMonoid(m)) {
      throw new TypeError(
        'mconcat: Monoid required for first argument'
      )
    }
  
    if(!isFoldable(xs)) {
      throw new TypeError(
        'mconcat: Foldable required for second argument'
      )
    }
  
    return mconcatMap(m, identity, xs)
  }
docs: mconcat : Monoid m => m -> ([ a ] | List a) -> m a