[Haskell-cafe] Safe lens?

Greg Fitzgerald garious at gmail.com
Mon Oct 29 17:51:07 CET 2012

Why are getters from the 'lens' package unsafe?  Is there a subset
like Data.Label.Pure from 'fclabels' that can be imported safely?

$ cat a.hs
{-# LANGUAGE Safe #-}

import Control.Lens.Getter

main = print 123

$ runghc a.hs

    Control.Lens.Getter: Can't be safely imported!
    The module itself isn't safe.


More information about the Haskell-Cafe mailing list