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
Scott Sauyet
7d90940d8c
Minor tweaks to monoid def
2016-02-27 21:52:38 -05:00
Peter Doherty
e110a19363
adding Fantasy Land spec note to Monad section
2016-02-26 16:54:35 -05:00
Peter Doherty
b23d42386b
adding bind and return note to Monad entry
2016-02-26 14:54:39 -05:00
Jethro Larson
23942621f7
Added definition for Categories
2016-02-23 01:12:23 -08:00
Jethro Larson
b663e9a07a
Removed reference to container type.
...
Also simplified a bunch of the language, at the cost of mathematical correctness, but hopefully more understanding for the uninitiated.
2016-02-23 01:03:21 -08:00
Jethro Larson
b3c5eeb7b3
Update comonad to match spec
2016-02-22 09:29:43 -08:00
jethro larson
ed415a1003
Added basic description of semigroup. Fixed comonad
2016-02-20 23:11:19 -08:00
jethro larson
6913df8f93
Attempted comonad, setoid, and foldable.
2016-02-20 18:05:27 -08:00
jethro larson
e27905d334
Attempted to define type signature comments.
2016-02-20 15:33:57 -08:00
jethro larson
ee69aed809
Fixed errors and inconsistencies with point-free
2016-02-20 15:09:47 -08:00
jethro larson
0a9c2169ef
Updated Isomorphic and Monad.
2016-02-20 15:02:58 -08:00
Hemanth.HM
d7493fa192
Redefined Isomorphic
2016-02-03 12:22:25 +05:30
hemanth.hm
258b96023c
Re-defined.
...
^
2016-01-20 13:17:27 +05:30
jethro larson
1e0d025797
Additions and edits
...
Added isomorphic, Container type, removed duplicate chain. Simplified point-free example.
2016-01-19 22:59:21 -08:00
Jethro Larson
81af06dc4b
Cleaned up some vagaries
2016-01-18 19:13:08 -08:00
Jethro Larson
29ed5185bb
Fixed missing hr
2016-01-18 19:07:21 -08:00
Jethro Larson
f0c1e46d1f
Update readme.md
...
Added Applicative functor, chain, equational reasoning.
Added a line to monad.
2016-01-18 19:06:25 -08:00
hemanth.hm
9f254dd59d
Format.
2015-10-17 11:50:51 +05:30
Steven Syrek
74ffd54fe1
Edit and expand Arity, Lazy Evaluation, and Monad definitions
2015-10-16 20:42:05 -04:00
Scott Sauyet
2fbc65d2c3
New points-free example and discussion
2015-09-21 21:26:45 -04:00
Raine Virta
26ee327775
add an example of impurity
2015-09-20 17:43:13 +03:00
hemanth.hm
f2e95693ca
Should have s/jargons/jargon/g
2015-09-20 19:24:06 +05:30
hemanth.hm
12177e6f9d
Jargon is plural.
...
^
2015-09-20 19:15:28 +05:30
David Chambers
37bc6788a8
correct the definition of higher-order functions, and update examples
2015-09-19 14:45:07 -07:00
hemanth.hm
6dcd10516a
many more 🐱
...
^
2015-09-16 22:42:41 +05:30