Commit graph

200 commits

Author SHA1 Message Date
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
Hemanth.HM
afb6bd9fc2 Syntax and typo fixed 2015-09-01 17:01:14 +05:30
Jani Hartikainen
15cc6ae3f1 Add monoid description
I've tried to describe monoid in a way that doesn't use too much jargon :)
2015-07-25 13:24:46 +03:00
Kevin Lanni
19570db1d1 monads 2015-06-18 22:00:39 -07:00
Kevin Lanni
6f9368e628 housekeeping 2015-06-18 21:59:25 -07:00
Eric Elliott
1fa5b1127d Update readme.md 2015-06-13 06:06:52 -06:00
hemanth.hm
c66424cc84 Defined pointfree. 2015-06-09 17:49:00 +05:30
hemanth.hm
6282252964 TD equational reasoning. 2015-06-09 16:17:01 +05:30
hemanth.hm
cac94a4f1d Defined side effects.
^
2015-06-07 18:20:10 +05:30
hemanth.hm
ee026cd4da Simplified currying.
^
2015-06-03 16:21:27 +05:30
Bassam Ismail
d7c0b1173e Use arrow function
Use ES6 arrow function
Update from `+` to `*` to validate results
2015-06-03 14:06:56 +05:30
Hemanth.HM
e5fd793982 Purity. 2015-04-04 09:29:06 +05:30
hemanth.hm
5a836308db Lazy evaluation.
Lazy evaluation example with ES6 generators.
2015-03-30 16:22:39 +05:30
Hemanth.HM
18f85ba9c5 Idempotency. 2015-03-29 13:19:07 +05:30
hemanth.hm
5463c47227 More additions ot the list.
So many!
2015-03-09 16:18:39 +05:30
hemanth.hm
30814d28fd Defined currying.
A dumb example.
2015-03-08 20:24:53 +05:30
hemanth.hm
d58b79e839 Some more jargon to be defined.
...
2015-03-02 18:26:31 +05:30
Hemanth.HM
2d9af62849 Partial Application defined. 2015-02-28 13:20:32 +05:30
Hemanth.HM
7f78cfce9e Defined HOF. 2015-02-28 12:57:41 +05:30
Hemanth.HM
adfadf7af0 Rearranged. 2015-02-28 12:45:28 +05:30
Hemanth.HM
cfe946aa8d Defined referential tranparency. 2015-02-28 12:40:48 +05:30
Hemanth.HM
aeb50cd03e Defined functor. 2015-02-28 12:18:49 +05:30
hemanth.hm
16d6aeaacf More jargon to be defined.
TBD.
2015-02-24 21:04:00 +05:30
stoeffel
11387ab478 add arity example 2015-02-23 14:00:07 +01:00
hemanth.hm
9e684fabed More additions ot the list.
Yet to define them..
2015-02-23 09:45:20 +05:30
Hemanth.HM
8b64e270ee init0 2015-02-22 21:39:35 +05:30