php-functional.git
5 years agoUpdate README master
Cameron Ball [Tue, 8 Jan 2019 07:09:25 +0000 (15:09 +0800)] 
Update README

5 years agoMerge pull request #95 from widmogrod/feature/algorith-w-move-out
Gabriel Habryn [Wed, 13 Jun 2018 23:28:53 +0000 (01:28 +0200)] 
Merge pull request #95 from widmogrod/feature/algorith-w-move-out

Move AlgorithmW implementation

5 years agoMove AlgorithmW implementation
widmogrod [Wed, 13 Jun 2018 23:24:28 +0000 (01:24 +0200)] 
Move AlgorithmW implementation

5 years agoMerge pull request #94 from widmogrod/feature/algorithm-w 5.1.0
Gabriel Habryn [Wed, 13 Jun 2018 22:09:18 +0000 (00:09 +0200)] 
Merge pull request #94 from widmogrod/feature/algorithm-w

Algorithm W

5 years agoFinish AlgorithmW implementation
widmogrod [Wed, 13 Jun 2018 21:08:43 +0000 (23:08 +0200)] 
Finish AlgorithmW implementation

5 years agomatch now support `any` and multiple patterns
widmogrod [Wed, 13 Jun 2018 21:08:03 +0000 (23:08 +0200)] 
match now support `any` and multiple patterns

5 years agoListtNil works nicely with function based on Iterator
widmogrod [Wed, 13 Jun 2018 21:06:54 +0000 (23:06 +0200)] 
ListtNil works nicely with function based on Iterator

5 years agoInfer type for EAbs
widmogrod [Mon, 11 Jun 2018 11:07:22 +0000 (13:07 +0200)] 
Infer type for EAbs

5 years agoPrint expression
widmogrod [Sun, 10 Jun 2018 22:03:27 +0000 (00:03 +0200)] 
Print expression

5 years agoNaive implementation of Map and Set
widmogrod [Sun, 10 Jun 2018 19:33:30 +0000 (21:33 +0200)] 
Naive implementation of Map and Set

5 years agoTest cases now have "expected"
widmogrod [Sun, 3 Jun 2018 18:48:16 +0000 (20:48 +0200)] 
Test cases now have "expected"

5 years agoUpdate CodeClimate badges
widmogrod [Sun, 3 Jun 2018 18:12:22 +0000 (20:12 +0200)] 
Update CodeClimate badges

5 years agoReorder imports
widmogrod [Fri, 1 Jun 2018 19:51:30 +0000 (21:51 +0200)] 
Reorder imports

5 years agoAlgorithm W - implementation continues
widmogrod [Fri, 1 Jun 2018 19:49:55 +0000 (21:49 +0200)] 
Algorithm W - implementation continues

5 years agoMaybe now can be pattern matched
widmogrod [Fri, 1 Jun 2018 19:49:02 +0000 (21:49 +0200)] 
Maybe now can be pattern matched

6 years agoMerge pull request #93 from widmogrod/feature/refactor
Gabriel Habryn [Sat, 24 Feb 2018 18:22:26 +0000 (19:22 +0100)] 
Merge pull request #93 from widmogrod/feature/refactor

refactor parser tests

6 years agoFix code style
widmogrod [Sat, 24 Feb 2018 18:14:40 +0000 (19:14 +0100)] 
Fix code style

6 years agoRefactor examples, to compare generate code much more nicer
widmogrod [Sat, 24 Feb 2018 18:14:24 +0000 (19:14 +0100)] 
Refactor examples, to compare generate code much more nicer

6 years agoGoing further into madness. Generate PHP code form haskell's data feature/code-generate
widmogrod [Sun, 18 Feb 2018 21:40:57 +0000 (22:40 +0100)] 
Going further into madness. Generate PHP code form haskell's data

6 years agoMerge pull request #92 from widmogrod/feature/fantasy-land 5.0.0
Gabriel Habryn [Sun, 18 Feb 2018 18:08:22 +0000 (19:08 +0100)] 
Merge pull request #92 from widmogrod/feature/fantasy-land

Use FunctionalPHP\FantasyLand

6 years agoUse FunctionalPHP\FantasyLand
widmogrod [Sun, 18 Feb 2018 18:03:26 +0000 (19:03 +0100)] 
Use FunctionalPHP\FantasyLand

6 years agoMerge pull request #90 from widmogrod/feature/space
Gabriel Habryn [Sun, 18 Feb 2018 17:50:32 +0000 (18:50 +0100)] 
Merge pull request #90 from widmogrod/feature/space

parser - pushing it forward

6 years agoendByP - combinator for parser
widmogrod [Sun, 18 Feb 2018 17:43:21 +0000 (18:43 +0100)] 
endByP - combinator for parser

6 years agoautomatic code fix
widmogrod [Sun, 11 Feb 2018 17:07:40 +0000 (18:07 +0100)] 
automatic code fix

6 years agotype parser
widmogrod [Sun, 11 Feb 2018 16:56:28 +0000 (17:56 +0100)] 
type parser

6 years agoParser can now parse grouped types
widmogrod [Sun, 11 Feb 2018 00:54:57 +0000 (01:54 +0100)] 
Parser can now parse grouped types

6 years agoWIP with parser
widmogrod [Sun, 11 Feb 2018 00:47:10 +0000 (01:47 +0100)] 
WIP with parser

6 years agoself_accessor - considered harmful
widmogrod [Sun, 11 Feb 2018 00:45:38 +0000 (01:45 +0100)] 
self_accessor - considered harmful

6 years agointroduce lt predicate (<)
widmogrod [Sun, 11 Feb 2018 00:45:12 +0000 (01:45 +0100)] 
introduce lt predicate (<)

6 years agointroduce dropWhile function + test
widmogrod [Sun, 11 Feb 2018 00:44:57 +0000 (01:44 +0100)] 
introduce dropWhile function + test

6 years agoadd space
widmogrod [Wed, 31 Jan 2018 22:52:48 +0000 (23:52 +0100)] 
add space

6 years agoMerge pull request #91 from widmogrod/widmogrod-patch-1
Gabriel Habryn [Sat, 17 Feb 2018 20:50:24 +0000 (21:50 +0100)] 
Merge pull request #91 from widmogrod/widmogrod-patch-1

Update CONTRIBUTING.md

6 years agoUpdate CONTRIBUTING.md
Gabriel Habryn [Sat, 17 Feb 2018 20:46:13 +0000 (21:46 +0100)] 
Update CONTRIBUTING.md

6 years agoMerge pull request #89 from widmogrod/feature/calculator-free
Gabriel Habryn [Tue, 30 Jan 2018 22:39:13 +0000 (23:39 +0100)] 
Merge pull request #89 from widmogrod/feature/calculator-free

More applications of Free Monad

6 years agoUpdate readme
widmogrod [Tue, 30 Jan 2018 22:35:46 +0000 (23:35 +0100)] 
Update readme

6 years agoIntroduce parser that build AST from Free Monad
widmogrod [Tue, 30 Jan 2018 22:24:20 +0000 (23:24 +0100)] 
Introduce parser that build AST from Free Monad

6 years agoEither\fromLeft Either\fromRight
widmogrod [Tue, 30 Jan 2018 22:23:31 +0000 (23:23 +0100)] 
Either\fromLeft Either\fromRight

6 years agointroduce span function
widmogrod [Tue, 30 Jan 2018 22:22:43 +0000 (23:22 +0100)] 
introduce span function

6 years agoNaive calculator - that also includes optimization of FreeMonad
widmogrod [Tue, 16 Jan 2018 22:47:53 +0000 (23:47 +0100)] 
Naive calculator - that also includes optimization of FreeMonad

6 years agoMerge pull request #88 from widmogrod/feature/readme-update 4.2.0
Gabriel Habryn [Tue, 2 Jan 2018 16:26:06 +0000 (17:26 +0100)] 
Merge pull request #88 from widmogrod/feature/readme-update

Readme improvements

6 years ago#80 Section about book Functional PHP by Gilles Crettenand
Gabriel Habryn [Tue, 2 Jan 2018 16:23:35 +0000 (17:23 +0100)] 
#80 Section about book Functional PHP by Gilles Crettenand

6 years agoFunctional PHP book cover
widmogrod [Tue, 2 Jan 2018 15:58:14 +0000 (16:58 +0100)] 
Functional PHP book cover

6 years agoAdd information about check style automated fixing
widmogrod [Tue, 2 Jan 2018 15:57:20 +0000 (16:57 +0100)] 
Add information about check style automated fixing

6 years agoRemove changelog
widmogrod [Tue, 2 Jan 2018 15:55:58 +0000 (16:55 +0100)] 
Remove changelog

6 years agoUpdate readme with doo notation
widmogrod [Tue, 2 Jan 2018 15:55:24 +0000 (16:55 +0100)] 
Update readme with doo notation

6 years agoMerge pull request #87 from widmogrod/feature/free-example
Gabriel Habryn [Tue, 2 Jan 2018 13:35:51 +0000 (14:35 +0100)] 
Merge pull request #87 from widmogrod/feature/free-example

 Use free monad to design - haskell like do notation in PHP

6 years agoClean up interpretation code
widmogrod [Mon, 1 Jan 2018 22:36:50 +0000 (23:36 +0100)] 
Clean up interpretation code

6 years agoIntroduce contra example - how control flow looks like without do notation
widmogrod [Mon, 1 Jan 2018 22:15:08 +0000 (23:15 +0100)] 
Introduce contra example - how control flow looks like without do notation

Introduce contr example - how control flow looks like without do notation

6 years agoWorking implementation of Haskell do notation in PHP
widmogrod [Mon, 1 Jan 2018 22:05:31 +0000 (23:05 +0100)] 
Working implementation of Haskell do notation in PHP

6 years agoUse free monad to design - haskell like do notation
widmogrod [Mon, 1 Jan 2018 21:54:53 +0000 (22:54 +0100)] 
Use free monad to design - haskell like do notation

6 years agoMerge pull request #85 from widmogrod/feature/make-list-more-lazy 4.1.0
Gabriel Habryn [Sat, 30 Dec 2017 21:08:36 +0000 (22:08 +0100)] 
Merge pull request #85 from widmogrod/feature/make-list-more-lazy

Small refactoring

6 years agoMaybe is not foldable
widmogrod [Fri, 29 Dec 2017 23:18:52 +0000 (00:18 +0100)] 
Maybe is not foldable

6 years agoImprove type hints
widmogrod [Fri, 29 Dec 2017 22:32:55 +0000 (23:32 +0100)] 
Improve type hints

6 years agoListtConst::of now only puts value into context (as it should)
widmogrod [Fri, 29 Dec 2017 22:18:14 +0000 (23:18 +0100)] 
ListtConst::of now only puts value into context (as it should)

6 years agoMerge pull request #84 from widmogrod/feature/fix-io 4.0.1
Gabriel Habryn [Thu, 28 Dec 2017 23:34:29 +0000 (00:34 +0100)] 
Merge pull request #84 from widmogrod/feature/fix-io

Feature/fix io

6 years agoMake Primitive\Sum tests much more nicer
widmogrod [Thu, 28 Dec 2017 23:25:55 +0000 (00:25 +0100)] 
Make Primitive\Sum tests much more nicer

6 years agoMake Primitive\Num tests much more nicer
widmogrod [Thu, 28 Dec 2017 23:23:56 +0000 (00:23 +0100)] 
Make Primitive\Num tests much more nicer

6 years agoMake Primitive\Product tests much more nicer
widmogrod [Thu, 28 Dec 2017 23:22:43 +0000 (00:22 +0100)] 
Make Primitive\Product tests much more nicer

6 years agoremove curry from laws tests
widmogrod [Thu, 28 Dec 2017 23:18:21 +0000 (00:18 +0100)] 
remove curry from laws tests

6 years agoMake Stringg tests much more nicer
widmogrod [Thu, 28 Dec 2017 23:16:55 +0000 (00:16 +0100)] 
Make Stringg tests much more nicer

6 years agoFix IO\getArgs() use now Listt
widmogrod [Thu, 28 Dec 2017 23:06:25 +0000 (00:06 +0100)] 
Fix IO\getArgs() use now Listt

6 years agoMerge pull request #83 from widmogrod/feature/aline-comments
Gabriel Habryn [Sun, 24 Dec 2017 00:06:09 +0000 (01:06 +0100)] 
Merge pull request #83 from widmogrod/feature/aline-comments

align comments

6 years agoUpdate interface of Traversable
widmogrod [Sat, 23 Dec 2017 21:25:12 +0000 (22:25 +0100)] 
Update interface of Traversable

6 years agoRemove getEmpty() methods
widmogrod [Sat, 23 Dec 2017 21:24:57 +0000 (22:24 +0100)] 
Remove getEmpty() methods

6 years agoUpdate interface of Setoid
widmogrod [Sat, 23 Dec 2017 21:21:51 +0000 (22:21 +0100)] 
Update interface of Setoid

6 years agoSimplify FantasyLand\Monoid instance
widmogrod [Sat, 23 Dec 2017 21:19:30 +0000 (22:19 +0100)] 
Simplify FantasyLand\Monoid instance

6 years agoUpdate interface of Apply
widmogrod [Sat, 23 Dec 2017 21:10:20 +0000 (22:10 +0100)] 
Update interface of Apply

6 years agoUpdate map & bind signatures
widmogrod [Sat, 23 Dec 2017 21:07:26 +0000 (22:07 +0100)] 
Update map & bind signatures

6 years agoUpdate interface of Functor
widmogrod [Sat, 23 Dec 2017 20:46:32 +0000 (21:46 +0100)] 
Update interface of Functor

6 years agoUpdate interface of Semigroup
widmogrod [Sat, 23 Dec 2017 20:31:58 +0000 (21:31 +0100)] 
Update interface of Semigroup

6 years agoalign comments
widmogrod [Sat, 23 Dec 2017 20:04:03 +0000 (21:04 +0100)] 
align comments

6 years agoMerge pull request #76 from widmogrod/feature/strict_types 4.0.0
Gabriel Habryn [Thu, 21 Dec 2017 21:49:31 +0000 (22:49 +0100)] 
Merge pull request #76 from widmogrod/feature/strict_types

declare(strict_types=1)

6 years agodeclare(strict_types=1)
widmogrod [Thu, 21 Dec 2017 21:43:43 +0000 (22:43 +0100)] 
declare(strict_types=1)

6 years agoMerge pull request #75 from widmogrod/feature/increase-code-cov
Gabriel Habryn [Thu, 21 Dec 2017 21:31:23 +0000 (22:31 +0100)] 
Merge pull request #75 from widmogrod/feature/increase-code-cov

Feature/increase code cov

6 years agoMake tests more deterministic
widmogrod [Thu, 21 Dec 2017 21:24:44 +0000 (22:24 +0100)] 
Make tests more deterministic

6 years agoRemove experimental Monad\Control\doo
widmogrod [Thu, 21 Dec 2017 21:17:25 +0000 (22:17 +0100)] 
Remove experimental Monad\Control\doo

6 years agoAdd SetoidLaws for Stringg
widmogrod [Thu, 21 Dec 2017 21:13:43 +0000 (22:13 +0100)] 
Add SetoidLaws for Stringg

6 years agoImprove code coverage for Sum
widmogrod [Thu, 21 Dec 2017 21:12:15 +0000 (22:12 +0100)] 
Improve code coverage for Sum

6 years agoImprove code coverage for String
widmogrod [Thu, 21 Dec 2017 21:12:06 +0000 (22:12 +0100)] 
Improve code coverage for String

6 years agoImprove code coverage for Product
widmogrod [Thu, 21 Dec 2017 21:11:54 +0000 (22:11 +0100)] 
Improve code coverage for Product

6 years agoMerge pull request #74 from widmogrod/feature/code-climat
Gabriel Habryn [Thu, 21 Dec 2017 21:03:04 +0000 (22:03 +0100)] 
Merge pull request #74 from widmogrod/feature/code-climat

Update CodeClimat integration

6 years agoGenerate code coverage properly
widmogrod [Thu, 21 Dec 2017 20:57:20 +0000 (21:57 +0100)] 
Generate code coverage properly

6 years agoGenerate code coverage properly
widmogrod [Thu, 21 Dec 2017 20:49:19 +0000 (21:49 +0100)] 
Generate code coverage properly

6 years agoGenerate code coverage properly
widmogrod [Thu, 21 Dec 2017 20:34:13 +0000 (21:34 +0100)] 
Generate code coverage properly

6 years agoUpload code coverage manually
widmogrod [Thu, 21 Dec 2017 20:24:39 +0000 (21:24 +0100)] 
Upload code coverage manually

6 years agoUpdate CodeClimat integration
widmogrod [Thu, 21 Dec 2017 20:07:09 +0000 (21:07 +0100)] 
Update CodeClimat integration

6 years agoMerge pull request #72 from widmogrod/feature/list-standardisation
Gabriel Habryn [Thu, 21 Dec 2017 19:44:58 +0000 (20:44 +0100)] 
Merge pull request #72 from widmogrod/feature/list-standardisation

List standardisation - wip

6 years agoUpdate tests to phpunit=6
widmogrod [Thu, 21 Dec 2017 19:38:35 +0000 (20:38 +0100)] 
Update tests to phpunit=6

6 years agoUpdate tests to phpunit=6
widmogrod [Thu, 21 Dec 2017 18:47:12 +0000 (19:47 +0100)] 
Update tests to phpunit=6

6 years agoFunctional\constt test + implementation
widmogrod [Thu, 21 Dec 2017 18:37:01 +0000 (19:37 +0100)] 
Functional\constt test + implementation

6 years agoUpdate function docbloc
widmogrod [Thu, 21 Dec 2017 18:30:34 +0000 (19:30 +0100)] 
Update function docbloc

6 years agoRemove functions that are not needed yet.
widmogrod [Thu, 21 Dec 2017 18:25:03 +0000 (19:25 +0100)] 
Remove functions that are not needed yet.

6 years agoFunctional\cycle tests
widmogrod [Thu, 21 Dec 2017 18:11:00 +0000 (19:11 +0100)] 
Functional\cycle tests

6 years agoFunctional\replicate tests + implementation
widmogrod [Thu, 21 Dec 2017 18:01:28 +0000 (19:01 +0100)] 
Functional\replicate tests + implementation

6 years agoFunctional\iterate tests
widmogrod [Thu, 21 Dec 2017 17:58:19 +0000 (18:58 +0100)] 
Functional\iterate tests

6 years agoFunctional\unzip make to work on infinite lists
widmogrod [Thu, 21 Dec 2017 17:53:38 +0000 (18:53 +0100)] 
Functional\unzip make to work on infinite lists

6 years agoFunctional\zip make to work on infinite lists
widmogrod [Thu, 21 Dec 2017 17:28:23 +0000 (18:28 +0100)] 
Functional\zip make to work on infinite lists

6 years agoImprove operations on lists to make them lazy always
widmogrod [Thu, 21 Dec 2017 17:19:19 +0000 (18:19 +0100)] 
Improve operations on lists to make them lazy always

6 years agoFunctional\take & drop can work on infinite lists
widmogrod [Thu, 21 Dec 2017 16:55:28 +0000 (17:55 +0100)] 
Functional\take & drop can work on infinite lists

6 years agoUpdate thrown exception docblock
widmogrod [Thu, 21 Dec 2017 16:54:49 +0000 (17:54 +0100)] 
Update thrown exception docblock