{"action":"created","issue":{"url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/360","repository_url":"https://api.github.com/repos/sanctuary-js/sanctuary","labels_url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/360/comments","events_url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/360/events","html_url":"https://github.com/sanctuary-js/sanctuary/issues/360","id":212198704,"node_id":"MDU6SXNzdWUyMTIxOTg3MDQ=","number":360,"title":"Add Intercalate","user":{"login":"syaiful6","id":2830977,"node_id":"MDQ6VXNlcjI4MzA5Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2830977?v=4","gravatar_id":"","url":"https://api.github.com/users/syaiful6","html_url":"https://github.com/syaiful6","followers_url":"https://api.github.com/users/syaiful6/followers","following_url":"https://api.github.com/users/syaiful6/following{/other_user}","gists_url":"https://api.github.com/users/syaiful6/gists{/gist_id}","starred_url":"https://api.github.com/users/syaiful6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syaiful6/subscriptions","organizations_url":"https://api.github.com/users/syaiful6/orgs","repos_url":"https://api.github.com/users/syaiful6/repos","events_url":"https://api.github.com/users/syaiful6/events{/privacy}","received_events_url":"https://api.github.com/users/syaiful6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-03-06T17:48:38Z","updated_at":"2018-06-12T20:47:40Z","closed_at":null,"author_association":"NONE","body":"So, we have ```joinWith``` that joins the strings of the second argument separated by the first argument. Which only work on array of string. What if i need to work with different container? Can we abstract this? Yes, by constraints it with Foldable and Monoid.\r\n\r\nThe type signature would be:\r\n```\r\nintercalate :: (Foldable f, Monoid m) => m -> f m -> m\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/comments/396728398","html_url":"https://github.com/sanctuary-js/sanctuary/issues/360#issuecomment-396728398","issue_url":"https://api.github.com/repos/sanctuary-js/sanctuary/issues/360","id":396728398,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjcyODM5OA==","user":{"login":"masaeedu","id":3674056,"node_id":"MDQ6VXNlcjM2NzQwNTY=","avatar_url":"https://avatars1.githubusercontent.com/u/3674056?v=4","gravatar_id":"","url":"https://api.github.com/users/masaeedu","html_url":"https://github.com/masaeedu","followers_url":"https://api.github.com/users/masaeedu/followers","following_url":"https://api.github.com/users/masaeedu/following{/other_user}","gists_url":"https://api.github.com/users/masaeedu/gists{/gist_id}","starred_url":"https://api.github.com/users/masaeedu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masaeedu/subscriptions","organizations_url":"https://api.github.com/users/masaeedu/orgs","repos_url":"https://api.github.com/users/masaeedu/repos","events_url":"https://api.github.com/users/masaeedu/events{/privacy}","received_events_url":"https://api.github.com/users/masaeedu/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T20:47:40Z","updated_at":"2018-06-12T20:47:40Z","author_association":"MEMBER","body":"@davidchambers For which thing? I'd really like Sanctuary to adopt explicit dictionary passing instead of the fantasy-land style, but this is a big change that should probably be discussed in a different issue.\r\n\r\nAs far as `intercalate` is concerned I could probably do a PR with a typerep for the monoid."}}
{"actor":{"display_login":"masaeedu"}}