File: BimapExt.hs

package info (click to toggle)
haskell-bimap 0.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 104 kB
  • sloc: haskell: 745; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE Trustworthy #-}
{-|
An auxiliary module that exports the 'IsList' class from "GHC.Exts". We use
this intermediate module to isolate a safe feature from an otherwise non-safe
module, and prevent all of "Data.Bimap" from being marked as not safe just
because we are importing "GHC.Exts".

The module only exports a class, and the class does not define any methods in
an unsafe way. We therefore consider it safe and mark this module as
trustworthy.
-}
module Data.BimapExt (
    IsList(..)
) where

import GHC.Exts (IsList(..))