{"action":"created","issue":{"url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/38","labels_url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/38/comments","events_url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/38/events","html_url":"https://github.com/ghcformacosx/ghc-dot-app/issues/38","id":95446213,"number":38,"title":"Unable to import Control.Monad.Cont","user":{"login":"mitochon","id":5185647,"avatar_url":"https://avatars.githubusercontent.com/u/5185647?v=3","gravatar_id":"","url":"https://api.github.com/users/mitochon","html_url":"https://github.com/mitochon","followers_url":"https://api.github.com/users/mitochon/followers","following_url":"https://api.github.com/users/mitochon/following{/other_user}","gists_url":"https://api.github.com/users/mitochon/gists{/gist_id}","starred_url":"https://api.github.com/users/mitochon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitochon/subscriptions","organizations_url":"https://api.github.com/users/mitochon/orgs","repos_url":"https://api.github.com/users/mitochon/repos","events_url":"https://api.github.com/users/mitochon/events{/privacy}","received_events_url":"https://api.github.com/users/mitochon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T14:30:41Z","updated_at":"2015-07-16T16:43:31Z","closed_at":"2015-07-16T16:43:31Z","body":"I'm trying to follow this tutorial https://www.fpcomplete.com/school/advanced-haskell/the-mother-of-all-monads and got stuck with import issues\r\n\r\n````\r\n$ which cabal\r\n/Users/francisco/Applications/ghc-7.8.4.app/Contents/bin/cabal\r\n\r\n$ which ghc\r\n/Users/francisco/Applications/ghc-7.8.4.app/Contents/bin/ghc\r\n\r\n$ ghc --version\r\nThe Glorious Glasgow Haskell Compilation System, version 7.8.4\r\n\r\n$ ghci\r\nGHCi, version 7.8.4: http://www.haskell.org/ghc/  :? for help\r\nLoading package ghc-prim ... linking ... done.\r\nLoading package integer-gmp ... linking ... done.\r\nLoading package base ... linking ... done.\r\nPrelude> :m Control.Monad\r\nPrelude Control.Monad> :m Control.Monad.Cont\r\n\r\n<no location info>:\r\n    Could not find module ‘Control.Monad.Cont’\r\n    Perhaps you haven't installed the \"dyn\" libraries for package ‘mtl-2.2.1’?\r\n    Use -v to see a list of the files searched for.\r\nPrelude Control.Monad> \r\n````\r\n\r\nRunning 'ghc-pkg check' also shows a lot of warnings / errors ... 'mtl-2-2.1' are among those listed.\r\nI'm new to haskell. Any pointers appreciated."},"comment":{"url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/comments/122016293","html_url":"https://github.com/ghcformacosx/ghc-dot-app/issues/38#issuecomment-122016293","issue_url":"https://api.github.com/repos/ghcformacosx/ghc-dot-app/issues/38","id":122016293,"user":{"login":"etrepum","id":26596,"avatar_url":"https://avatars.githubusercontent.com/u/26596?v=3","gravatar_id":"","url":"https://api.github.com/users/etrepum","html_url":"https://github.com/etrepum","followers_url":"https://api.github.com/users/etrepum/followers","following_url":"https://api.github.com/users/etrepum/following{/other_user}","gists_url":"https://api.github.com/users/etrepum/gists{/gist_id}","starred_url":"https://api.github.com/users/etrepum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etrepum/subscriptions","organizations_url":"https://api.github.com/users/etrepum/orgs","repos_url":"https://api.github.com/users/etrepum/repos","events_url":"https://api.github.com/users/etrepum/events{/privacy}","received_events_url":"https://api.github.com/users/etrepum/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T16:43:30Z","updated_at":"2015-07-16T16:43:30Z","body":"Try `cabal install mtl`"}}