Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix readme
  • Loading branch information
rkozlov95 committed Apr 7, 2020
commit 6a0403f651b84b913c743e8cec630adf34339262
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# php-pairs

[![github action status](https://github.com/hexlet-components/php-pairs/workflows/master/badge.svg)](https://github.com/hexlet-components/php-pairs/actions)

## Install

```sh
$ composer require hexlet/pairs
```


### Functions for working with Pairs
## Functions for working with Pairs

```php
<?php
Expand All @@ -17,7 +19,7 @@ use function PhpPairs\Pairs\cdr;
use function PhpPairs\Pairs\toString;
```

### Functions for working with Lists
## Functions for working with Lists

```php
<?php
Expand All @@ -29,7 +31,7 @@ use function PhpPairs\Lists\filter;
use function PhpPairs\Lists\reduce;
```

### Examples
## Usage examples

```php
<?php
Expand Down