<div dir="ltr"><div>Hi all</div><div><br></div><div>I'm trying to follow this tutorial about lenses:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><a href="https://hackage.haskell.org/package/lens-tutorial-1.0.1/docs/Control-Lens-Tutorial.html">https://hackage.haskell.org/package/lens-tutorial-1.0.1/docs/Control-Lens-Tutorial.html</a></blockquote><div><br></div><div>Right at the top of the tutorial,it says do this in ghci:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>import Control.Lens.Tutorial</div></blockquote><div><br></div><div>I tried that, but I got an error: "Could not find module `Control.Lens.Tutorial'"</div><div><br></div><div>So I tried this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>D:\Sync\src\tutorials> stack install lens-tutorial</div><div>Run from outside a project, using implicit global project config</div><div>Using resolver: lts-6.9 from implicit global project's config file: C:\Users\dan\AppData\Roaming\stack\global-project\stack.yaml</div><div>lens-tutorial-1.0.1: download</div><div>lens-tutorial-1.0.1: configure</div><div>lens-tutorial-1.0.1: build</div><div>lens-tutorial-1.0.1: copy/register</div><div><br></div></blockquote>I'm not exactly sure what that did, but it looked promising. However, I still get the same error in ghci as before when I do the import.<div><br></div><div>My question is, what do I need to do to get the import statement working in ghci so I can follow the tutorial? I would be grateful for any guidance. Thanks.</div><div><br></div><div>Regards</div><div>Dan Phillips</div></div>