Verified Commit 6cd28089 authored by Allele Dev's avatar Allele Dev

core: rm ynot-prelude dependency

parent 30b24c77
......@@ -3,7 +3,7 @@
-- see: https://github.com/sol/hpack
name: linear-socket
version: 0.3.2.0
version: 0.3.3.0
synopsis: Initial project template from stack
description: Please see README.md
license: GPL-3
......@@ -29,7 +29,6 @@ library
src
build-depends:
base >=4.7 && <5
, ynot-prelude
, network
, bytestring
exposed-modules:
......@@ -46,7 +45,6 @@ executable linear-socket-hlint
default-extensions: NoImplicitPrelude BinaryLiterals LambdaCase TupleSections NegativeLiterals OverloadedStrings ApplicativeDo Arrows BangPatterns MagicHash UnboxedTuples DeriveFoldable DeriveFunctor DeriveTraversable GeneralizedNewtypeDeriving StandaloneDeriving DisambiguateRecordFields DuplicateRecordFields NamedFieldPuns NamedWildCards RecordWildCards OverloadedLabels FlexibleInstances FunctionalDependencies MultiParamTypeClasses ConstraintKinds DataKinds EmptyCase EmptyDataDecls GADTs KindSignatures PartialTypeSignatures RankNTypes RoleAnnotations ScopedTypeVariables TypeApplications TypeFamilies TypeFamilyDependencies TypeOperators TypeSynonymInstances
build-depends:
base
, ynot-prelude
, hlint >=1.9.27
other-modules:
Spec
......@@ -59,7 +57,6 @@ test-suite linear-socket-test
main-is: Spec.hs
build-depends:
base
, ynot-prelude
, network
, linear-socket
, tasty-hspec
......
name: linear-socket
version: '0.3.2.0'
version: '0.3.3.0'
synopsis: Initial project template from stack
description: Please see README.md
category: Web
......@@ -61,7 +61,6 @@ library:
exposed-modules:
dependencies:
- base >=4.7 && <5
- ynot-prelude
- network
- bytestring
......@@ -77,7 +76,6 @@ executables:
default-extensions: []
dependencies:
- base
- ynot-prelude
- hlint >=1.9.27
tests:
......@@ -91,9 +89,7 @@ tests:
- -with-rtsopts=-N
dependencies:
- base
- ynot-prelude
- network
- linear-socket
- tasty-hspec
- hspec
......@@ -41,9 +41,8 @@ module Network.Typed.Socket (
makeAddrReusable
) where
import Prelude (Bool(..), IO, Char, Int)
import Prelude (Bool(..), IO, Char, Int, error)
import Data.ByteString (ByteString)
import YNotPrelude (error)
import Control.Applicative
import Control.Exception (bracket)
......
......@@ -14,7 +14,7 @@
-----------------------------------------------------------------------------
module Main where
import YNotPrelude
import Prelude
import Control.Monad
import Language.Haskell.HLint
......@@ -24,5 +24,5 @@ import System.Exit
main :: IO ()
main = do
args <- getArgs
hints <- hlint $ ["src", "--cpp-define=HLINT", "--cpp-ansi"] <> args
hints <- hlint $ ["src", "--cpp-define=HLINT", "--cpp-ansi"] ++ args
unless (null hints) exitFailure
......@@ -12,7 +12,9 @@
{-# OPTIONS_GHC -Wall #-}
module Main where
import YNotPrelude
import Prelude (IO, ($))
import Control.Monad
import Control.Concurrent
import Test.Tasty.Hspec
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment