Skip to content

Update to use (separated) singletons-th. #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion clang-pure.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ library
vector >= 0.10.12,
bytestring >= 0.10.6,
stm >= 2.4.4,
singletons >= 2.0.1,
singletons >= 3.0,
singletons-th >=3.2,
microlens >= 0.4.2.1,
microlens-contra >= 0.1.0.1
hs-source-dirs: src/
Expand Down
4 changes: 2 additions & 2 deletions src/Language/C/Clang/Cursor/Typed.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import Data.Word
import Lens.Micro.Contra

import qualified Language.C.Clang.Cursor as UT
import Language.C.Clang.Cursor ( cursorKind, Cursor, CursorKind(..) )
import Language.C.Clang.Cursor ( cursorKind )
import Language.C.Clang.Location
import Language.C.Clang.Internal.Types

Expand Down Expand Up @@ -307,4 +307,4 @@ instance HasSpelling 'TemplateRef
instance HasSpelling 'TranslationUnit
instance HasSpelling 'TypeRef
instance HasSpelling 'TypedefDecl
instance HasSpelling 'UsingDeclaration
instance HasSpelling 'UsingDeclaration
1 change: 0 additions & 1 deletion src/Language/C/Clang/Internal/Context.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
module Language.C.Clang.Internal.Context where

import qualified Data.Map as M
import Data.Monoid ((<>))
import qualified Language.C.Inline as C
import qualified Language.C.Inline.Context as C
import qualified Language.C.Types as C
Expand Down
1 change: 1 addition & 0 deletions src/Language/C/Clang/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ limitations under the License.
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE StandaloneKindSignatures #-}

module Language.C.Clang.Internal.Types where

Expand Down