on develop help sign in
example: Move extensions to cabal file
commit565fec083162fc2eb3fcfa6db77a1694ac0da7a6 authorAli Abrar <aliabrar@gmail.com> dateWed 24 Mar 2021, 13:18 (6 years ago) parent1fddcba
2 files changed+31−12
reflex-vty.cabal+31−1 src-bin/example.hs−11
reflex-vty.cabal+31−1
@@ -82,7 +82,6 @@ library
8282 TypeApplications
8383 TypeFamilies
8484
85−
8685executable example
8786 hs-source-dirs: src-bin
8887 main-is: example.hs
@@ -97,6 +96,37 @@ executable example
9796 transformers,
9897 vty
9998 default-language: Haskell2010
99+ other-modules: Example.CPU
100+ default-extensions:
101+ BangPatterns
102+ ConstraintKinds
103+ CPP
104+ DataKinds
105+ DefaultSignatures
106+ DeriveFunctor
107+ DeriveGeneric
108+ FlexibleContexts
109+ FlexibleInstances
110+ FunctionalDependencies
111+ GADTs
112+ GeneralizedNewtypeDeriving
113+ KindSignatures
114+ LambdaCase
115+ MultiParamTypeClasses
116+ MultiWayIf
117+ OverloadedStrings
118+ PatternGuards
119+ PolyKinds
120+ QuasiQuotes
121+ RankNTypes
122+ RecursiveDo
123+ ScopedTypeVariables
124+ StandaloneDeriving
125+ TemplateHaskell
126+ TupleSections
127+ TypeApplications
128+ TypeFamilies
129+
100130
101131source-repository head
102132 type: git
src-bin/example.hs−11
@@ -1,14 +1,3 @@
1−{-# LANGUAGE FlexibleContexts #-}
2−{-# LANGUAGE FlexibleInstances #-}
3−{-# LANGUAGE GADTs #-}
4−{-# LANGUAGE LambdaCase #-}
5−{-# LANGUAGE MultiParamTypeClasses #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RankNTypes #-}
8−{-# LANGUAGE RecursiveDo #-}
9−{-# LANGUAGE ScopedTypeVariables #-}
10−{-# LANGUAGE ConstraintKinds #-}
11−
121import Control.Applicative
132import Control.Monad
143import Control.Monad.Fix