Install libghc-magic-doc by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-magic-doc
Description:
File type determination library for Haskell; documentation
This package provides a Haskell interface to the C libmagic library. With it, you can determine the type of a file by examining its contents rather than its name. The Haskell interface provides a full-featured binding. . This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://hackage.haskell.org/package/magic
Version: 1.1-6build1
Section: universe/doc