Commit Graph

133 Commits

Author SHA1 Message Date
Lysxia
2982fcb99e Add Monoid instance for Symbol 2020-03-03 22:20:16 -05:00
Xia Li-yao
3108efe96f
Merge pull request #35 from Lysxia/unit
Add unit tests
2020-03-03 22:17:42 -05:00
Lysxia
e361c72ae0 Add unit tests 2020-03-03 22:12:36 -05:00
Lysxia
b83419031c Add comment about naming conflict with Data.Monoid.All 2020-03-01 17:16:23 -05:00
Lysxia
912b1818ff CHANGELOG: Update 2020-03-01 16:16:42 -05:00
Lysxia
b6428eec3f Remove deprecated Guarded, Guard(:=), and Otherwise 2020-03-01 15:59:56 -05:00
Lysxia
dec9b0f2a2 Remove internal use of deprecated Fcf.Classes 2020-03-01 15:56:07 -05:00
Xia Li-yao
16b3747d49
Merge pull request #32 from Lysxia/classy
Add type classes Ord, Semigroup, Monoid, Foldable, Bifunctor
2020-03-01 15:50:23 -05:00
Lysxia
618573912f Deprecate Fcf.Classes 2020-03-01 15:43:25 -05:00
Lysxia
c5459ad4d6 Simplify definitions of First and Second 2020-03-01 15:43:25 -05:00
Lysxia
0bc0e8d876 Add monoid instances for Any and All 2020-03-01 15:43:25 -05:00
Lysxia
f4a79fd7b3 Add comment about name conflict on Any 2020-03-01 15:43:25 -05:00
Lysxia
45385ca0be Add comment about Endo 2020-03-01 15:43:21 -05:00
Lysxia
1b1ccca6af Move And, Or, Any, All, Sum out of Fcf.Data.List 2020-03-01 15:43:21 -05:00
Lysxia
dc6a3049e2 Generalize Concat and ConcatMap to Foldable 2020-03-01 15:43:21 -05:00
Lysxia
6de9f4a50d Add Fcf.Class.Foldable and Fcf.Class.Monoid.Types 2020-03-01 15:43:15 -05:00
Lysxia
7419cd47e3 Add note about Nat comparison 2020-03-01 15:41:52 -05:00
Lysxia
97b5ab832d Remove (Fcf.Data.List.==) 2020-03-01 15:41:52 -05:00
Lysxia
de0492b2d5 Export (<=), (>=), (<), (>) from Fcf.Class.Ord 2020-03-01 15:41:52 -05:00
Lysxia
0e4bc750fb Add some tests for MEmpty and (<>) 2020-03-01 15:41:52 -05:00
Lysxia
23ab511423 Add instances of (<>) and MEmpty 2020-03-01 15:41:52 -05:00
Lysxia
ff5c3d81ee Split (<>) and (.<>), add more Compare instances 2020-03-01 15:41:52 -05:00
Lysxia
9bddd9d069 Add Fcf.Class.Monoid and Fcf.Class.Ord 2020-03-01 15:41:52 -05:00
Lysxia
e16b3db15f Add details about TyEq 2020-03-01 15:41:49 -05:00
Lysxia
159bc5ee00 Add Fcf.Class.Bifunctor 2020-03-01 15:41:06 -05:00
Lysxia
a4b21ee2b0 Add Fcf.Class.Functor 2020-03-01 15:41:06 -05:00
Lysxia
2364ff07b4 Fix compilation of Fcf.Data.Function with 8.0 2020-03-01 11:16:53 -05:00
Lysxia
aa725c5f28 Redefine Any and All using Bicomap 2020-03-01 11:02:25 -05:00
Lysxia
a803db9e5f Add Fcf.Data.Function 2020-03-01 11:02:23 -05:00
Lysxia
5d707763b4 Improve descriptions in Fcf.Data.List 2020-03-01 10:31:34 -05:00
Xia Li-yao
f988ef9f7c
Merge pull request #30 from gspia/master
Propose new list functions, First, Second and module Symbol
2020-03-01 09:57:54 -05:00
gspia
a5323eb2c4 Propose new list functions, First, Second and module Symbol 2020-03-01 09:52:03 -05:00
Lysxia
120e41ea38 Bump version to 0.7.0.0 2020-01-30 15:04:02 -05:00
Lysxia
b7dfcfe034 CHANGELOG: Update 2020-01-30 15:03:16 -05:00
Lysxia
db2643b7fa Fix Find to not take linear time in the best case 2020-01-30 14:57:31 -05:00
Xia Li-yao
9e703b3be2
Merge pull request #25 from gspia/master
Modify Elem, add examples and two functions
2020-01-20 22:50:15 -06:00
gspia
d00baac50a Modify Elem, add examples and two functions
This commit removes the Elem bug, adds functions TakeWhile and
DropWhile, and add doc-tests to some functions. In the Map-function
this demostrates how function can applied partially.
2020-01-20 23:45:57 -05:00
Lysxia
0095aea9bf doc: Collapse examples 2020-01-09 12:41:09 -05:00
Xia Li-yao
046c214347
Merge pull request #22 from Lysxia/doctests
Add doctests
2020-01-09 12:38:12 -05:00
Lysxia
b6cac1ecc1 Add doctests 2020-01-09 12:24:41 -05:00
Xia Li-yao
b047331942
Merge pull request #21 from gspia/takedrop
Add Take, Drop and Reverse functions
2020-01-09 12:21:50 -05:00
gspia
08ea05f1c5 Changes based on review 2020-01-09 19:08:02 +02:00
gspia
6bf03f71c5 Add Take, Drop and Reverse functions
This commit adds the functions listed in the title.
The implementations follow the algorithms given in Data.List for
the corresponding term-level functions.
2020-01-08 16:54:08 +02:00
Xia Li-yao
7caa2aa745
Merge pull request #19 from gspia/issue3
Replace type synonyms at List
2020-01-06 06:33:44 -05:00
gspia
1199e8d941 Remove suggested sentence from readme 2020-01-06 13:22:07 +02:00
gspia
d29ab4b9af Replace type synonyms at List
That is, change the Elem, Lookup and Zip functions. This commit also
adds a sentence to README.mk.
2020-01-06 13:18:24 +02:00
Lysxia
4113cb1607 Fix Filter to not take exponential time 2020-01-06 05:34:27 -05:00
Lysxia
e6949099c3 README: Mention partial application 2020-01-06 05:10:58 -05:00
Xia Li-yao
34938c2112
Merge pull request #16 from gspia/master
PR for Unfoldr, Concat, ConcatMap and Replicate
2020-01-06 05:08:32 -05:00
Lysxia
267c114e16 Remove extra spaces 2020-01-06 05:04:14 -05:00