1 import Prelude (IO, id, (.))
2 import Data.Aeson (encode)
3 import Codec.Serialise (deserialise)
4 import qualified Data.ByteString.Lazy as L
6 import Gargantext.API.Ngrams.Types (NgramsRepo)
9 main = L.interact (encode . (id :: NgramsRepo -> NgramsRepo) . deserialise)