Follow StreamContent's split between Raw and Clear 'getters'

This commit is contained in:
Tissevert 2020-04-17 14:37:54 +02:00
parent a64224d119
commit d4406b6aae

View file

@ -23,7 +23,7 @@ revealText = unlines . fmap fill . lines
revealLayer :: Monad m => Layer -> m Layer
revealLayer =
atAll Objects
.atAll (Maybe_ StreamContent) $
.atAll (Maybe_ Clear) $
return . revealText
reveal :: Document -> IO Document