Skip to content

Commit 8b2667c

Browse files
committed
Update README.md
1 parent 6fbd471 commit 8b2667c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ addOneAndContinue(2, printAsString) // 'Given 3'
212212

213213
```js
214214
const continueProgramWith = (data) => {
215-
// Continues program with data
215+
// 데이터와 함께 프로그램을 계속 진행한다.
216216
}
217217

218218
readFileAsync('path/to/file', (err, response) => {
@@ -304,7 +304,7 @@ const incrementAll = (numbers) => map(add(1))(numbers)
304304
// Points-free - The list is an implicit argument
305305
const incrementAll2 = map(add(1))
306306
```
307-
`incrementAll`은 매개 변수 `numbers`를 사용하고 식별하므로 Point-free합니다. `incrementAll2`는 함수와 값을 결합하여 작성되며 인수에 대해서는 언급하지 않습니다. Point-free합니다.
307+
`incrementAll`은 매개 변수 `numbers`를 사용하고 식별하므로 Point-free 하지 않습니다. `incrementAll2`는 함수와 값을 결합하여 작성되며 인수에 대해서는 언급하지 않습니다. Point-free합니다.
308308

309309
points-free 함수 정의는 `function` or `=>` 없이 일반적인 할당처럼 보입니다.
310310

@@ -438,7 +438,7 @@ const liftA2 = (f) => (a, b) => a.map(f).ap(b) // note it's `ap` and not `map`.
438438

439439
const mult = a => b => a * b
440440

441-
const liftedMult = liftA2(mult) // this function now works on functors like array
441+
const liftedMult = liftA2(mult) // 이 함수는 이제 배열과 같은 functor에서 작동합니다.
442442

443443
liftedMult([1, 2], [3]) // [3, 6]
444444
liftA2(a => b => a + b)([1, 2], [3, 4]) // [4, 5, 5, 6]
@@ -733,13 +733,13 @@ const nameLens = R.lens(
733733
```js
734734
const person = {name: 'Gertrude Blanch'}
735735

736-
// invoke the getter
736+
// getter를 호출한다.
737737
R.view(nameLens, person) // 'Gertrude Blanch'
738738

739-
// invoke the setter
739+
// setter를 호출한다.
740740
R.set(nameLens, 'Shafi Goldwasser', person) // {name: 'Shafi Goldwasser'}
741741

742-
// run a function on the value in the structure
742+
// 구조체의 값에 함수를 실행한다.
743743
R.over(nameLens, uppercase, person) // {name: 'GERTRUDE BLANCH'}
744744
```
745745

@@ -806,11 +806,11 @@ __추가 읽기__
806806

807807
JavaScript에는 이와 같은 유형이 없지만 `Set`을 사용하여 가장 할 수 있습니다:
808808
```js
809-
// imagine that rather than sets here we have types that can only have these values
809+
// 여기에는 Set가 아니라 이 값만 가질 수있다고 상상해보세요.
810810
const bools = new Set([true, false])
811811
const halfTrue = new Set(['half-true'])
812812

813-
// The weakLogic type contains the sum of the values from bools and halfTrue
813+
// weakLogic 유형에는 bools과 halfTrue의 값의 sum이 들어 있습니다.
814814
const weakLogicValues = new Set([...bools, ...halfTrue])
815815
```
816816

0 commit comments

Comments
 (0)