apiary-1.2.1: Simple and type safe web framework that generate web API documentation.

Safe HaskellNone
LanguageHaskell2010

Data.Apiary.Compat

Contents

Description

compatibility module for ghc-7.8 & ghc-7.6.

Synopsis

type level string literal

data Symbol :: *

(Kind) This is the kind of type-level symbols.

Instances

HasDesc (Proxy Symbol) 
type (==) Symbol a b = EqSymbol a b 

class KnownSymbol n

This class gives the integer associated with a type-level symbol. There are instances of the class for every concrete literal: "hello", etc.

Since: 4.7.0.0

Minimal complete definition

symbolSing

symbolVal :: KnownSymbol n => proxy n -> String

Since: 4.7.0.0

data SProxy a Source

Symbol Proxy for ghc-7.6 Template Haskell.

Constructors

SProxy 

Instances

Data.Typeables