{"action":"created","issue":{"url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/91","repository_url":"https://api.github.com/repos/HaskellCNOrg/haskellcn","labels_url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/91/comments","events_url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/91/events","html_url":"https://github.com/HaskellCNOrg/haskellcn/issues/91","id":318948778,"number":91,"title":"Hackage 上的包应该怎样用? by jiyinyiyong","user":{"login":"freizl","id":437427,"avatar_url":"https://avatars1.githubusercontent.com/u/437427?v=4","gravatar_id":"","url":"https://api.github.com/users/freizl","html_url":"https://github.com/freizl","followers_url":"https://api.github.com/users/freizl/followers","following_url":"https://api.github.com/users/freizl/following{/other_user}","gists_url":"https://api.github.com/users/freizl/gists{/gist_id}","starred_url":"https://api.github.com/users/freizl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freizl/subscriptions","organizations_url":"https://api.github.com/users/freizl/orgs","repos_url":"https://api.github.com/users/freizl/repos","events_url":"https://api.github.com/users/freizl/events{/privacy}","received_events_url":"https://api.github.com/users/freizl/received_events","type":"User","site_admin":false},"labels":[{"id":918124889,"url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/labels/migration","name":"migration","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-30T16:17:44Z","updated_at":"2018-04-30T16:17:52Z","closed_at":null,"author_association":"OWNER","body":"为了操作字符串, 先直接 Google, 让座搜到了 Hackage 的结果,,  \r\nhttp://hackage.haskell.org/packages/archive/MissingH/1.0.0/doc/html/Data-String-Utils.html#v%3Ajoin  \r\n然后我应该怎么用 Hackage 上的模块呢?  \r\n\r\n原先我以为能直接用 `import Data.String.Utils`, 但是没有这个包,  \r\n直接用名字 `cabal list | grep` 却得不到这个包, 倒是用左上角 `MissingH` 搜到了..  \r\n有没有 NPM 那样领新手进门的 README.. >_<"},"comment":{"url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/comments/385449458","html_url":"https://github.com/HaskellCNOrg/haskellcn/issues/91#issuecomment-385449458","issue_url":"https://api.github.com/repos/HaskellCNOrg/haskellcn/issues/91","id":385449458,"user":{"login":"freizl","id":437427,"avatar_url":"https://avatars1.githubusercontent.com/u/437427?v=4","gravatar_id":"","url":"https://api.github.com/users/freizl","html_url":"https://github.com/freizl","followers_url":"https://api.github.com/users/freizl/followers","following_url":"https://api.github.com/users/freizl/following{/other_user}","gists_url":"https://api.github.com/users/freizl/gists{/gist_id}","starred_url":"https://api.github.com/users/freizl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freizl/subscriptions","organizations_url":"https://api.github.com/users/freizl/orgs","repos_url":"https://api.github.com/users/freizl/repos","events_url":"https://api.github.com/users/freizl/events{/privacy}","received_events_url":"https://api.github.com/users/freizl/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T16:17:52Z","updated_at":"2018-04-30T16:17:52Z","author_association":"OWNER","body":"http://hackage.haskell.org/packages/archive/**MissingH**/1.0.0/doc/html/Data-String-Utils.html\r\n\r\narchive 和 1.0.0 之间的MissingH就是包名.\r\n用\r\n \r\n    cabal update\r\n    cabal install MissingH\r\n\r\n就能装上.\r\n\r\n    cabal info MissingH\r\n\r\n可以查看 MissingH 里的所有module."}}
{"actor":{"display_login":"freizl"}}