title: Couldn't import and download Data.List.Ordered in Haskell
body: <p>I'm too beginner in Haskell and I wrote a simple program that imports Data.List.Ordered, when I run the program this error appears:</p>
  <pre class="lang-none prettyprint-override"><code>test.hs:3:1: error:
      Could not find module `Data.List.Ordered'
      Use -v (or `:set -v` in ghci) to see a list of the files searched for.
    |
  3 | import Data.List.Ordered ( isSorted, nub )
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  </code></pre>
  <p>Then I tired to download the package  using the following command:</p>
  <pre class="lang-none prettyprint-override"><code>cabal install --lib --package-env . ordered
  </code></pre>
  <p>but It didn't work as well</p>
  <pre class="lang-none prettyprint-override"><code>C:\WINDOWS\system32&gt;cabal install --lib --package-env . ordered
  Resolving dependencies...
  Build profile: -w ghc-8.10.7 -O1
  In order, the following will be built (use -v for more details):
   - ordered-0.1 (lib:ordered) (requires build)
  Starting     ordered-0.1 (all, legacy fallback)
  Building     ordered-0.1 (all, legacy fallback)
  
  Failed to build ordered-0.1.
  Build log (
  C:\Users\reema\Desktop\Haskell\cabal\logs\ghc-8.10.7\ordered-0.1-e612131c8de88f5b62dca269575aa8273bdac512.log
  ):
  Preprocessing library for ordered-0.1..
  Building library for ordered-0.1..
  [1 of 3] Compiling Data.Poset.Internal ( Data\Poset\Internal.hs, dist\build\Data\Poset\Internal.o )
  
  Data\Poset\Internal.hs:32:10: error:
      * No instance for (Semigroup PosetOrd)
          arising from the superclasses of an instance declaration
      * In the instance declaration for `Monoid PosetOrd'
     |
  32 | instance Monoid PosetOrd where
     |          ^^^^^^^^^^^^^^^
  cabal-3.6.2.0.exe: Failed to build ordered-0.1. See the build log above for details.
  </code></pre>
  <p>These versions I'm using:</p>
  <pre class="lang-none prettyprint-override"><code>GHCi,  version 8.10.7
  Cabal, version3.6.2.0
  </code></pre>