File tree Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Expand file tree Collapse file tree 5 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ New features:
11
11
Bugfixes:
12
12
13
13
Other improvements:
14
+ - Removed unused names and declaration found by the v0.14.1 PureScript release (#68 by @PureFunctor )
15
+ - Installed dependencies directly imported into source code that were previously installed transitively and removed unused ` fixed-point ` dependency (#68 by @PureFunctor )
14
16
15
17
## [ v5.0.0] ( https://github.com/purescript-contrib/purescript-formatters/releases/tag/v5.0.0 ) - 2021-02-26
16
18
Original file line number Diff line number Diff line change 1
1
{ name = " formatters"
2
2
, dependencies =
3
3
[ " aff"
4
+ , " arrays"
4
5
, " assert"
6
+ , " bifunctors"
5
7
, " console"
8
+ , " control"
6
9
, " datetime"
7
10
, " effect"
8
- , " fixed-points"
11
+ , " either"
12
+ , " enums"
13
+ , " foldable-traversable"
14
+ , " integers"
9
15
, " lists"
16
+ , " math"
17
+ , " maybe"
18
+ , " newtype"
10
19
, " numbers"
20
+ , " ordered-collections"
11
21
, " parsing"
22
+ , " partial"
12
23
, " prelude"
13
24
, " psci-support"
25
+ , " strings"
14
26
, " transformers"
27
+ , " tuples"
15
28
]
16
29
, packages = ./ packages. dhall
17
30
, sources = [ " src/**/*.purs" , " test/**/*.purs" ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ repeat ∷ ∀ a. Monoid a ⇒ a → Int → a
11
11
repeat = repeat' mempty
12
12
where
13
13
repeat' ∷ a → a → Int → a
14
- repeat' accum part count
14
+ repeat' accum _ count
15
15
| count < one = accum
16
16
repeat' accum part count =
17
17
repeat' (accum <> part) part (count - one)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module Test.DateTime (datetimeTest) where
3
3
import Prelude
4
4
5
5
import Control.Monad.Reader.Class (class MonadReader )
6
- import Control.Alternative (class Alternative , empty , guard )
6
+ import Control.Alternative (guard )
7
7
import Data.DateTime (DateTime )
8
8
import Data.Either (Either (..))
9
9
import Data.Formatter.DateTime as FDT
@@ -196,6 +196,3 @@ dateformats =
196
196
]
197
197
}
198
198
]
199
-
200
- filter ∷ ∀ m a . Alternative m ⇒ Monad m ⇒ (a → Boolean ) → m a → m a
201
- filter f m = m >>= \x → if f x then pure x else empty
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ intervalTest = describe "Data.Formatter.Interval" do
31
31
prop " should unformat RecurringInterval" arbRecurringInterval \({ str, interval }) → do
32
32
(unformatRecurringInterval str) `shouldEqual` (Right interval)
33
33
34
- prop " format (unformat s) = s" arbRecurringInterval \({ str, interval, formatedStr }) → do
34
+ prop " format (unformat s) = s" arbRecurringInterval \({ str, formatedStr }) → do
35
35
(formatRecurringInterval <$> (unformatRecurringInterval str)) `shouldEqual` (Right formatedStr)
36
36
37
- prop " unformat (format s) = s" arbRecurringInterval \({ str, interval, formatedStr }) → do
37
+ prop " unformat (format s) = s" arbRecurringInterval \({ interval }) → do
38
38
(unformatRecurringInterval $ formatRecurringInterval interval) `shouldEqual` (Right interval)
39
39
40
40
You can’t perform that action at this time.
0 commit comments