Skip to content

Commit

Permalink
Add hint and change version back to 2.1.0.3 (was 2.1.0.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshine committed Oct 13, 2019
1 parent c05e826 commit 249d26c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions exercises/resistor-color-duo/.meta/hints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Hints

You need to implement the function

```haskell
value :: (Color, Color) -> Int
```

that only accepts two colors and produces the resistor's numeric value
component of its resistance.
12 changes: 12 additions & 0 deletions exercises/resistor-color-duo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ brown-green should return 15
brown-green-violet should return 15 too, ignoring the third color.


## Hints

You need to implement the function

```haskell
value :: (Color, Color) -> Int
```

that only accepts two colors and produces the resistor's numeric value
component of its resistance.



## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion exercises/resistor-color-duo/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: resistor-color-duo
version: 0.1.0.3
version: 2.1.0.3

dependencies:
- base
Expand Down

0 comments on commit 249d26c

Please sign in to comment.