Skip to content

Commit

Permalink
Version 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Feb 14, 2019
1 parent e2ee780 commit 4087b49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018 Plaid Technologies, Inc.
Copyright (c) 2019 Plaid Technologies, Inc.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
8 changes: 4 additions & 4 deletions examples/fp.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
### <a name="map" href="https://github.com/plaid/transcribe/blob/v1.1.1/examples/fp.js#L3">`map :: (a -⁠> b) -⁠> Array a -⁠> Array b`</a>
### <a name="map" href="https://github.com/plaid/transcribe/blob/v1.1.2/examples/fp.js#L3">`map :: (a -⁠> b) -⁠> Array a -⁠> Array b`</a>

Transforms a list of elements of type `a` into a list of elements
of type `b` using the provided function of type `a -> b`.

```javascript
> map(String)([1, 2, 3, 4, 5])
> map (String) ([1, 2, 3, 4, 5])
['1', '2', '3', '4', '5']
```

### <a name="filter" href="https://github.com/plaid/transcribe/blob/v1.1.1/examples/fp.js#L23">`filter :: (a -⁠> Boolean) -⁠> Array a -⁠> Array a`</a>
### <a name="filter" href="https://github.com/plaid/transcribe/blob/v1.1.2/examples/fp.js#L23">`filter :: (a -⁠> Boolean) -⁠> Array a -⁠> Array a`</a>

Returns the list of elements which satisfy the provided predicate.

```javascript
> filter(function(n) { return n % 2 === 0; })([1, 2, 3, 4, 5])
> filter (function(n) { return n % 2 === 0; }) ([1, 2, 3, 4, 5])
[2, 4]
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "transcribe",
"version": "1.1.1",
"version": "1.1.2",
"description": "Generate Markdown documentation from code comments",
"license": "MIT",
"homepage": "https://github.com/plaid/transcribe",
Expand Down

0 comments on commit 4087b49

Please sign in to comment.