packages feed

MicroHs-0.17.4.0 / lib / Data / Constraint.hs

-- Copyright 2023 Lennart Augustsson-- See LICENSE file for full license.module Data.Constraint(module Data.Constraint) whereimport qualified Prelude()              -- do not import Preludeimport {-# SOURCE #-} Data.Typeableimport Text.Show-- A very, very minimal version of the constraints packagetype Dict :: Constraint -> Typedata Dict c = c => Dictinstance Show (Dict c) where  showsPrec _ Dict = showString "Dict"withDict :: forall c r . Dict c -> (c => r) -> rwithDict Dict r = r