mirror of
https://github.com/ilyakooo0/reflex-vty.git
synced 2024-11-23 03:13:26 +03:00
cabal: Use default extensions
This commit is contained in:
parent
7fa7aa9161
commit
9fb317f572
@ -51,6 +51,36 @@ library
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
default-extensions:
|
||||
BangPatterns
|
||||
ConstraintKinds
|
||||
CPP
|
||||
DataKinds
|
||||
DefaultSignatures
|
||||
DeriveFunctor
|
||||
DeriveGeneric
|
||||
FlexibleContexts
|
||||
FlexibleInstances
|
||||
FunctionalDependencies
|
||||
GADTs
|
||||
GeneralizedNewtypeDeriving
|
||||
KindSignatures
|
||||
LambdaCase
|
||||
MultiParamTypeClasses
|
||||
MultiWayIf
|
||||
OverloadedStrings
|
||||
PatternGuards
|
||||
PolyKinds
|
||||
QuasiQuotes
|
||||
RankNTypes
|
||||
RecursiveDo
|
||||
ScopedTypeVariables
|
||||
StandaloneDeriving
|
||||
TemplateHaskell
|
||||
TupleSections
|
||||
TypeApplications
|
||||
TypeFamilies
|
||||
|
||||
|
||||
executable example
|
||||
hs-source-dirs: src-bin
|
||||
|
@ -2,12 +2,7 @@
|
||||
Module: Control.Monad.NodeId
|
||||
Description: Monad providing a supply of unique identifiers
|
||||
-}
|
||||
{-# LANGUAGE DefaultSignatures #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE GADTs #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# Language UndecidableInstances #-}
|
||||
module Control.Monad.NodeId
|
||||
( NodeId
|
||||
, MonadNodeId (..)
|
||||
|
@ -7,10 +7,6 @@ Description: A zipper for text documents that allows convenient editing and navi
|
||||
'TextZipper's can be converted into 'DisplayLines', which describe how the contents of the zipper will be displayed when wrapped to fit within a container of a certain width. It also provides some convenience facilities for converting interactions with the rendered DisplayLines back into manipulations of the underlying TextZipper.
|
||||
|
||||
-}
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Data.Text.Zipper where
|
||||
|
||||
import Data.Char (isSpace)
|
||||
|
@ -2,9 +2,7 @@
|
||||
Module: Reflex.Class.Switchable
|
||||
Description: A class for things that can be switched on the firing of an event
|
||||
-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE FunctionalDependencies #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# Language UndecidableInstances #-}
|
||||
module Reflex.Class.Switchable where
|
||||
|
||||
import Control.Monad
|
||||
|
@ -2,9 +2,6 @@
|
||||
Module: Reflex.Spider.Orphans
|
||||
Description: Orphan instances for SpiderTimeline and SpiderHost
|
||||
-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
module Reflex.Spider.Orphans where
|
||||
|
||||
|
@ -2,12 +2,6 @@
|
||||
Module: Reflex.Vty.Host
|
||||
Description: Scaffolding for running a reflex-vty application
|
||||
-}
|
||||
{-# LANGUAGE ConstraintKinds #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
{-# LANGUAGE GADTs #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
|
||||
module Reflex.Vty.Host
|
||||
( VtyApp
|
||||
, VtyResult(..)
|
||||
|
@ -2,20 +2,7 @@
|
||||
Module: Reflex.Vty.Widget
|
||||
Description: Basic set of widgets and building blocks for reflex-vty applications
|
||||
-}
|
||||
{-# LANGUAGE DefaultSignatures #-}
|
||||
{-# LANGUAGE DeriveFunctor #-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE FunctionalDependencies #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
{-# LANGUAGE RecursiveDo #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE StandaloneDeriving #-}
|
||||
{-# LANGUAGE TupleSections #-}
|
||||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# Language UndecidableInstances #-}
|
||||
|
||||
module Reflex.Vty.Widget
|
||||
( VtyWidgetCtx(..)
|
||||
|
@ -2,8 +2,6 @@
|
||||
Module: Reflex.Vty.Widget.Input
|
||||
Description: User input widgets for reflex-vty
|
||||
-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Reflex.Vty.Widget.Input
|
||||
( module Export
|
||||
, module Reflex.Vty.Widget.Input
|
||||
|
@ -2,11 +2,6 @@
|
||||
Module: Reflex.Vty.Widget.Input.Text
|
||||
Description: Widgets for accepting text input from users and manipulating text within those inputs
|
||||
-}
|
||||
{-# LANGUAGE FlexibleContexts #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE RecursiveDo #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
module Reflex.Vty.Widget.Input.Text
|
||||
( module Reflex.Vty.Widget.Input.Text
|
||||
, def
|
||||
|
@ -2,14 +2,7 @@
|
||||
Module: Reflex.Vty.Widget.Layout
|
||||
Description: Monad transformer and tools for arranging widgets and building screen layouts
|
||||
-}
|
||||
{-# LANGUAGE FlexibleInstances #-}
|
||||
{-# LANGUAGE FunctionalDependencies #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE RecursiveDo #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
{-# Language UndecidableInstances #-}
|
||||
|
||||
module Reflex.Vty.Widget.Layout where
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user