chocolateboy
aab4db75dd
rm obsolete links
...
Remove links to [removed](4f869c86d9 ) TODO sections:
* Guarded Functions
* Traversable
2017-06-10 23:00:44 +00:00
hemanth.hm
d5be05e7d3
Merge pull request #153 from jethrolarson/noTODO
...
Remove TODO entries. TODO stuff can be managed by issues
2017-06-08 13:18:09 +05:30
Jethro Larson
c54693524c
Merge branch 'master' into noTODO
2017-06-07 10:53:13 -07:00
jethro larson
1601ecd859
Delint, fix TOC, minor tweaks
2017-06-07 10:45:26 -07:00
jethro larson
a30176c55c
Rename union type to sum type to complement with product type and change description and example to better match the concept
2017-06-07 10:18:38 -07:00
jethro larson
4f869c86d9
Remove TODO entries. TODO stuff can be managed by issues
2017-06-06 13:20:33 -07:00
Vladimir Gorej
916d87505c
docs(readme.md): add ramda-adjunct as FL
...
ramda-adjunct is rapidly growing adjunct or core ramda library.
2017-05-17 00:32:37 +02:00
hemanth.hm
b1e4b2601b
Merge pull request #149 from sunnypatel165/master
...
Fix Typo in Closure
2017-05-10 15:40:51 +05:30
Sunny Patel
9045867897
Fix Typo in Closure
...
Replaced Scopped with Scoped
2017-05-10 09:45:10 +05:30
Steve Mao
1d15590eba
add Homomorphism
2017-04-16 09:06:54 +10:00
Sean-Lan
0cd5973ddf
fix: fix the lift example error
2017-04-14 18:43:39 +08:00
Steve Mao
72fe6956aa
Since the definition of reduceRight wan't correct, the definition of reduce doesn't seem to be right either. Changed both to mdn's definition.
2017-04-10 21:10:56 +10:00
Steve Mao
c39c733ff6
Address @i-am-tom and @shineli1984's review
2017-04-10 21:08:44 +10:00
Steve Mao
5071b5a617
Add more morphisms
...
I was watching @DrBoolean's [A Million Ways to Fold in JS](https://www.youtube.com/watch?v=JZSoPZUoR58 ) but I couldn't understand most of the morphism jargons. I presume the video is for experienced devs who are from a FP language background. The moment when I tried to search for "Catamorphism javascript" on google I couldn't get anything. I really hope there would be more in depth FP resources written in JavaScript. Luckily @i-am-tom kindly wrote up something that could be understood by JS devs like me. I have fixed a minor mistake in @i-am-tom's [original write up](https://github.com/DrBoolean/RecursionTalk/issues/2#issuecomment-292777148 ) and tweaked a few wording.
Also cc @joneshf @getify @shineli1984
Thanks!
2017-04-10 20:38:50 +10:00
hemanth.hm
273175df14
Merge pull request #116 from sunnypatel165/master
...
Added Closures
2017-04-09 20:37:10 +05:30
Sunny Patel
a07df820ca
Update readme.md
2017-04-09 11:25:21 +05:30
Sunny Patel
b01d0f6cfc
Update readme.md
...
Added closure vs lambda as suggested.
2017-04-09 10:54:48 +05:30
hemanth.hm
841ed85f81
Fixes #145
2017-03-26 12:58:48 +05:30
shfshanyue
6da52dbd2b
Add Chinese
2017-03-09 22:01:03 +08:00
shfshanyue
b58ed9bea6
fix typo: middle dot
2017-03-09 19:44:07 +08:00
shfshanyue
25bd92ce94
Make easy for example of hoc
2017-03-07 16:54:47 +08:00
shfshanyue
50b46665ff
fix: arrow function in setoid
2017-03-03 13:03:01 +08:00
Jethro Larson
38cd3bebb1
Extend category definition
2017-01-23 16:01:44 -08:00
Dmitri Zaitsev
1105aae3e1
Corrected definition of Category ( #138 )
2017-01-23 15:55:09 -08:00
Saar Wexler
1de3d692f8
Two new js libraries- mori and Immutable
2017-01-02 11:27:34 +02:00
hemanth.hm
2164426d93
Merge pull request #130 from nickzuber/master
...
Continuations
2017-01-02 08:27:44 +05:30
Martin Algañaraz
3f8c8a5983
Added the translation into Spanish
...
I have translated the document completely into Spanish, I hope you can add me to the list of translations.
Greetings and happy new year :)
2017-01-01 12:23:36 -03:00
Paweł
1341b6f672
add monet.js to functional programming libraries
2016-12-27 14:28:10 +01:00
Nicholas Zuber
e8ce4d0c17
changed wording
2016-12-23 03:29:22 -05:00
Artem Riasnianskyi
4bcf39d586
const is not constant fix
...
add `Object.freeze()` to object defenition in Constant section
2016-12-22 09:58:06 +01:00
Nicholas Zuber
b8d5028816
continuations
2016-12-21 13:10:16 -05:00
Vincent Sisk
02b0546772
Update readme.md ( #129 )
2016-12-20 09:10:35 -08:00
Nick Zuber
b77effbd02
Added Contracts ( #127 )
...
* Added description of contracts
* Added ES6 example
* linted and toc
2016-12-19 20:28:45 -08:00
Jethro Larson
eceef7553d
Using equivalent operator for functor laws
...
...as opposed to threequals
2016-11-04 14:57:48 -07:00
hemanth.hm
86d9603981
Merge pull request #121 from alexlafroscia/update-purity-example
...
Update purity example
2016-10-26 07:03:18 +05:30
Alex LaFroscia
f55916cac0
Update Purity code examples to use interpolation
...
Also, add in the missing argument to `greet` in the changing-global-state example code.
2016-10-25 18:22:00 -07:00
hemanth.hm
d1faf8b4f1
Added a note for ap
...
We've got this pr like 4 times now thinking that it's a typo.
2016-10-26 06:14:24 +05:30
Alex LaFroscia
ff29eb4abd
Update the Purity example code
...
Reading through this, the example code for the Purity information was a bit confusing. The original example tried to show both using and changing global state in one function, but because of that the "pure" example and "unpure" example didn't actually do the same thing.
I think it's a little more clear if the two concepts are broken up, instead showing the "pure" version, one that uses global state, and one that modifies global state.
2016-09-25 12:40:16 -07:00
Sunny Patel
9d14bcf943
Update readme.md
2016-09-18 00:22:40 +05:30
Iain Diamond
e918b396ec
Update monad example ( #115 )
...
Monad description mentions 'of' function; update the example to use this.
2016-09-10 11:09:05 +05:30
Sunny Patel
a5eaf03818
Fixed typos in Closure
2016-09-09 13:35:49 +05:30
Sunny Patel
e0ae226d99
Fixed typos in Closure
2016-09-09 13:34:17 +05:30
Sunny Patel
d1f6c16a92
Adding Closure
2016-09-09 13:30:41 +05:30
Chandan Rai
52b9f361b6
corrected typo ( #113 )
2016-09-01 20:17:48 +05:30
Jethro Larson
a67155dd44
Added npm test for using code standards in the examples. Fixed all discrepencies. #111 ( #112 )
2016-08-31 05:59:53 +05:30
Daniel D. Zhang
6256c79347
fix #108 ( #110 )
2016-08-28 11:48:38 +05:30
Johnny Reina
eb4481cac9
Fixes a tiny spelling error under auto currying. ( #107 )
2016-08-23 18:53:11 +05:30
Sam Umbach
8d10ce9b32
Update Applicative Functor example ( #106 )
...
Update for consistency with commit c9590ea .
2016-08-22 10:53:32 +05:30
Gagan M
c9590ea092
#103 : update Applicative Functor example ( #104 )
2016-08-21 11:38:31 +05:30
Jethro Larson
49a856f6b3
Moved Libraries to the bottom, added auto curry, endomorphism, some example implementations of .ap and .chain, and regenerated TOC ( #102 )
2016-08-14 20:33:40 +05:30
Isiah Meadows
946058d20a
Update readme.md ( #98 )
...
Remove useless array from `partial` example definition
2016-08-12 09:15:27 +05:30
pinggod
82e18f311f
Update the code snippet of purity ( #99 )
...
a). Initialization is a essential operation in `const` declaration
b). `let` is more accurate to express `mutable state`
2016-08-12 09:15:15 +05:30
Steven Syrek
b29559cc0b
Did some light copy editing of the introductory text and added a list of FP libraries ( #96 )
...
* Copy edit introductory text and add list of FP libraries
* Make FP libraries list conform to style for translations list
2016-08-02 10:22:35 +05:30
Alex M
8839023886
Added Portuguese link and "contents" ( #92 )
...
* Added Portuguese link and "contents"
* Trying to fix add portuguese and contents
* Trying to fix add portuguese and contents 2
2016-08-01 21:39:03 +05:30
Jethro Larson
a8734e931f
Moved the JavaScript justification over to a wiki. ( #88 )
2016-07-30 00:37:11 +05:30
Jethro Larson
5f9cdd6b3d
Added Lambda and Lambda Calculus #87 ( #89 )
2016-07-30 00:36:57 +05:30
Jethro Larson
4cd9112fbb
Added links to ramda's awesome type signature documentation and a SO describing Hindley-Milner ( #85 )
...
Adjusted wording of the PS
2016-07-27 13:24:27 +05:30
Jethro Larson
da2cca182d
Used Array.of for pointed functor definition #77 ( #86 )
...
Also adjusted monoid description until my kid could understand it.
2016-07-27 13:23:47 +05:30
Paul Bone
bc895ef56f
Write a more complete introduction. ( #81 )
...
* Write a more complete introduction.
This introduction introduces why this glossary is important and that the
examples are in JavaScript syntax.
* Mention that ES2015 is used.
2016-07-27 11:28:15 +05:30
Bob Whitelock
44cf9194b9
Use consistent variable declarations ( #84 )
...
Not a big deal, but generally when writing ES2015+ it's preferable to use `const` where possible for variable declarations, as it provides a guarantee to the reader that you won't change what the variable references, and preference `let` over `var` otherwise , as this at least guarantees that the variable will be block-scoped rather than function-scoped. Being inconsistent with this means readers must sometimes have to consider whether a difference is there for a reason or not.
2016-07-27 11:26:31 +05:30
Jethro Larson
2b2d07958f
Updated Applicative and Lift to partially address recent feedback ( #74 )
2016-07-27 11:26:19 +05:30
Renaud TERTRAIS
102809f9e2
Add an another example for lift ( #79 )
...
I found it quite confusing at first sight. Perhaps it would be useful for futur readers to have a second example.
2016-07-26 19:30:57 +05:30
Jethro Larson
b0b210248c
Update definition of partial application ( #75 )
2016-07-26 14:32:34 +05:30
hemanth.hm
ab7d286329
WIP link.
2016-07-26 11:29:40 +05:30
David Zukowski
31544b98f6
Standardize and fix equality strictness in Setoid ( #66 )
2016-07-26 11:10:31 +05:30
G. Kay Lee
a033852fca
Update readme.md ( #65 )
...
Refined the Functor section
2016-07-25 21:33:43 +05:30
Florian
6641c2c27c
correct plural of parenthesis ( #68 )
2016-07-25 21:13:25 +05:30
hemanth.hm
4e69ee2adf
Merge pull request #63 from galopezb/patch-1
...
Typo in function composition section
2016-07-25 10:17:02 +05:30
James Earl Douglas
b0e8112cac
Expand side effects to include reading external mutable state
2016-07-24 22:36:55 -06:00
Gustavo A López
e536145dd1
Typo in function composition section
2016-07-24 19:25:55 -05:00
hemanth.hm
98fbaff76b
Merge pull request #54 from jethrolarson/pred
...
Added definition for predicate.
2016-07-15 09:12:56 +05:30
jethro larson
67c71526de
Added definition for predicate.
2016-07-14 14:52:07 -07:00
Peng-Jie
6be57b6ce9
use let instead of var in for loop.
2016-06-19 20:20:09 +08:00
jethro larson
13de2a5df9
Removed blockquotes #11
...
Removed superflous <hr/>s
Added gitignore for build directory
2016-06-10 10:32:27 -07:00
hemanth.hm
b528aa9adc
Merge pull request #43 from brunops/fix-comonad-example
...
Fix Comonad example
2016-06-10 11:20:25 +05:30
hemanth.hm
6d8db7fb0a
Merge pull request #44 from marcusnielsen/patch-1
...
Fix spelling of "two two"
2016-06-10 10:37:04 +05:30
hemanth.hm
881a4585e3
Merge pull request #50 from jethrolarson/maybe
...
Adding Union Type, Product Type, and Maybe
2016-06-10 10:34:29 +05:30
bsanches
d857ea9598
use method shorthand for comonad example
2016-06-09 20:40:18 -07:00
jethro larson
8d91d0183a
Added union type, product type, and Option/Maybe
...
Regenerated TOC
2016-06-09 18:54:04 -07:00
Marcus Nielsen
64b9705a80
Fix spelling of "an variable"
2016-06-09 14:30:24 +02:00
Marcus Nielsen
c79038ffbb
Fix spelling of "two two"
2016-06-09 14:23:10 +02:00
bsanches
6ce00b53a5
Fix Comonad example
...
- Current example doesn't run
- `extract` is supposed to be a function
- `this.v` is not a thing
- Unfortunately, I'm not sure if it's possible to do this with arrow
functions, as they'll bind the current `this` scope, which will be
`CoIdentity`'s current scope instead of the actual returned object..
2016-06-08 09:54:15 -07:00
jethro larson
a565684167
Improved description of Purity and Point-free #42
2016-06-06 17:00:09 -07:00
jethro larson
f4db1010f8
Update TOC
2016-06-06 16:34:11 -07:00
jethro larson
4cc76141c6
Couple additional tweaks
2016-06-06 16:05:55 -07:00
jethro larson
de31b94a72
Merge remote-tracking branch 'hemanth/master'
2016-06-06 15:49:11 -07:00
jethro larson
40b7c7ebbe
Simplified some text. Added link to FL.
2016-06-06 15:38:14 -07:00
Stoeffel
8b75429462
adds toc
...
* create toc `npm run toc`
2016-06-01 11:36:09 +02:00
hemanth.hm
48eddbbc86
Merge pull request #37 from noplanman/proofing
...
In-depth proofreading and correcting
2016-06-01 14:57:09 +05:30
Rootul Patel
9ac6df6cba
Fix typo: combines to combine
2016-05-31 22:55:19 -04:00
hemanth.hm
181c17fa5c
Added a link to all the contributors 🙌
...
Thanks to:
@jethrolarson
@ethagnawl
@therealklanni
@CrossEye
@jhartikainen
@davidchambers
@skippednote
@mariusschulz
@lovasoa
@raine
@sjsyrek
@toddmotto
@matthieubulte
@stoeffel
2016-06-01 05:45:11 +05:30
Armando Lüscher
6ddf6bb3e1
In-depth proofreading and correcting
2016-05-31 21:06:30 +02:00
Kosmas Chatzimichalis
973027d679
small typo
...
either this repository or this repo
2016-05-31 20:38:02 +02:00
Marius Schulz
6c314f238e
Curries add function in point-free style code
...
The `add` function needs to be curried in order for the code example to work.
2016-05-29 13:11:01 +02:00
Todd Motto
be13a8c11d
fix(readme): Typo on "evluated"
2016-05-27 17:46:36 +01:00
Boris Marinov
33d40dc24d
fixes
2016-03-25 11:31:04 +02:00
Boris Marinov
69d5dc87bf
Add definitions: Value, Constant, Composition
2016-03-23 17:14:35 +02:00
matthieubulte
de552b5a2d
Added functor laws and example to the functor section
2016-03-22 19:38:03 +01:00
hemanth.hm
1d35202348
Merge pull request #24 from ethagnawl/master
...
adding `bind` and `return` note to Monad entry
2016-02-29 15:45:12 +05:30
Pete Doherty
fd06aa7d32
shortening Monad bind and return note
2016-02-28 22:06:26 -05:00