git » homepage.git » master » tree

[master] / archive / open-source / gist-evidence / raw / 1263783 / comments.json

[{"url":"https://api.github.com/gists/1263783/comments/808115","id":808115,"node_id":"MDExOkdpc3RDb21tZW50MTI2Mzc4Mzo4MDgxMTU=","user":{"login":"narkisr","id":6810,"node_id":"MDQ6VXNlcjY4MTA=","avatar_url":"https://avatars.githubusercontent.com/u/6810?v=4","gravatar_id":"","url":"https://api.github.com/users/narkisr","html_url":"https://github.com/narkisr","followers_url":"https://api.github.com/users/narkisr/followers","following_url":"https://api.github.com/users/narkisr/following{/other_user}","gists_url":"https://api.github.com/users/narkisr/gists{/gist_id}","starred_url":"https://api.github.com/users/narkisr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narkisr/subscriptions","organizations_url":"https://api.github.com/users/narkisr/orgs","repos_url":"https://api.github.com/users/narkisr/repos","events_url":"https://api.github.com/users/narkisr/events{/privacy}","received_events_url":"https://api.github.com/users/narkisr/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"NONE","created_at":"2013-03-30T20:00:44Z","updated_at":"2013-03-30T20:00:44Z","body":"Could you please add a license? \n\nThanks\n"},{"url":"https://api.github.com/gists/1263783/comments/828713","id":828713,"node_id":"MDExOkdpc3RDb21tZW50MTI2Mzc4Mzo4Mjg3MTM=","user":{"login":"jjcomer","id":606704,"node_id":"MDQ6VXNlcjYwNjcwNA==","avatar_url":"https://avatars.githubusercontent.com/u/606704?v=4","gravatar_id":"","url":"https://api.github.com/users/jjcomer","html_url":"https://github.com/jjcomer","followers_url":"https://api.github.com/users/jjcomer/followers","following_url":"https://api.github.com/users/jjcomer/following{/other_user}","gists_url":"https://api.github.com/users/jjcomer/gists{/gist_id}","starred_url":"https://api.github.com/users/jjcomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjcomer/subscriptions","organizations_url":"https://api.github.com/users/jjcomer/orgs","repos_url":"https://api.github.com/users/jjcomer/repos","events_url":"https://api.github.com/users/jjcomer/events{/privacy}","received_events_url":"https://api.github.com/users/jjcomer/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"NONE","created_at":"2013-05-10T18:28:26Z","updated_at":"2013-05-10T18:28:26Z","body":"+1 for a license.\nAlso you can remove items from a set without performing a difference:\n\n``` clojure\n(disj s x)\n```\n"},{"url":"https://api.github.com/gists/1263783/comments/881472","id":881472,"node_id":"MDExOkdpc3RDb21tZW50MTI2Mzc4Mzo4ODE0NzI=","user":{"login":"alandipert","id":26024,"node_id":"MDQ6VXNlcjI2MDI0","avatar_url":"https://avatars.githubusercontent.com/u/26024?v=4","gravatar_id":"","url":"https://api.github.com/users/alandipert","html_url":"https://github.com/alandipert","followers_url":"https://api.github.com/users/alandipert/followers","following_url":"https://api.github.com/users/alandipert/following{/other_user}","gists_url":"https://api.github.com/users/alandipert/gists{/gist_id}","starred_url":"https://api.github.com/users/alandipert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandipert/subscriptions","organizations_url":"https://api.github.com/users/alandipert/orgs","repos_url":"https://api.github.com/users/alandipert/repos","events_url":"https://api.github.com/users/alandipert/events{/privacy}","received_events_url":"https://api.github.com/users/alandipert/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"OWNER","created_at":"2013-08-06T18:41:13Z","updated_at":"2013-08-06T18:41:13Z","body":"@narkisr @jjcomer updated w/ license.  Stuck with `difference` so that it works on values that aren't sets.\n"},{"url":"https://api.github.com/gists/1263783/comments/1234522","id":1234522,"node_id":"MDExOkdpc3RDb21tZW50MTI2Mzc4MzoxMjM0NTIy","user":{"login":"manuel-sugawara","id":448605,"node_id":"MDQ6VXNlcjQ0ODYwNQ==","avatar_url":"https://avatars.githubusercontent.com/u/448605?v=4","gravatar_id":"","url":"https://api.github.com/users/manuel-sugawara","html_url":"https://github.com/manuel-sugawara","followers_url":"https://api.github.com/users/manuel-sugawara/followers","following_url":"https://api.github.com/users/manuel-sugawara/following{/other_user}","gists_url":"https://api.github.com/users/manuel-sugawara/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-sugawara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-sugawara/subscriptions","organizations_url":"https://api.github.com/users/manuel-sugawara/orgs","repos_url":"https://api.github.com/users/manuel-sugawara/repos","events_url":"https://api.github.com/users/manuel-sugawara/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-sugawara/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"NONE","created_at":"2014-05-24T00:14:42Z","updated_at":"2014-05-24T00:15:20Z","body":"Awesome, thanks. Needed this and I was able to use it without a single modification to my original code. Now, try that on Java!\n"},{"url":"https://api.github.com/gists/1263783/comments/1804270","id":1804270,"node_id":"MDExOkdpc3RDb21tZW50MTI2Mzc4MzoxODA0Mjcw","user":{"login":"spieden","id":11672940,"node_id":"MDQ6VXNlcjExNjcyOTQw","avatar_url":"https://avatars.githubusercontent.com/u/11672940?v=4","gravatar_id":"","url":"https://api.github.com/users/spieden","html_url":"https://github.com/spieden","followers_url":"https://api.github.com/users/spieden/followers","following_url":"https://api.github.com/users/spieden/following{/other_user}","gists_url":"https://api.github.com/users/spieden/gists{/gist_id}","starred_url":"https://api.github.com/users/spieden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spieden/subscriptions","organizations_url":"https://api.github.com/users/spieden/orgs","repos_url":"https://api.github.com/users/spieden/repos","events_url":"https://api.github.com/users/spieden/events{/privacy}","received_events_url":"https://api.github.com/users/spieden/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"NONE","created_at":"2016-06-17T23:59:14Z","updated_at":"2016-06-17T23:59:14Z","body":"Also used to good effect! I'm not sure what you mean by working on non-set values by using difference, though, @alandipert, as \"difference\" only works on sets as much as \"disj\" does.\n"},{"url":"https://api.github.com/gists/1263783/comments/4212901","id":4212901,"node_id":"GC_lADOAFdsSKcxMjYzNzgzzgBASKU","user":{"login":"tombarys","id":5729352,"node_id":"MDQ6VXNlcjU3MjkzNTI=","avatar_url":"https://avatars.githubusercontent.com/u/5729352?v=4","gravatar_id":"","url":"https://api.github.com/users/tombarys","html_url":"https://github.com/tombarys","followers_url":"https://api.github.com/users/tombarys/followers","following_url":"https://api.github.com/users/tombarys/following{/other_user}","gists_url":"https://api.github.com/users/tombarys/gists{/gist_id}","starred_url":"https://api.github.com/users/tombarys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombarys/subscriptions","organizations_url":"https://api.github.com/users/tombarys/orgs","repos_url":"https://api.github.com/users/tombarys/repos","events_url":"https://api.github.com/users/tombarys/events{/privacy}","received_events_url":"https://api.github.com/users/tombarys/received_events","type":"User","user_view_type":"public","site_admin":false},"author_association":"NONE","created_at":"2022-06-26T14:31:26Z","updated_at":"2022-06-26T14:36:22Z","body":"Hi, why is there the `{:pre [(not (empty? s))]}` form in `take-1` function? It seems to me it is not useful at all but I am Clojure beginner. Thank you, @alandipert. \r\n\r\nEDIT: it throws an error when hash-set is empty – is that the reason?"}]