Skip to content

Commit c6442ac

Browse files
committed
Lesson 16 rename
1 parent 5797c99 commit c6442ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/monad.js renamed to examples/16-monad.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
const { Box } = require('../examples/lib')
22

3+
4+
// httpGet('/user')
5+
// .chain(user => httpGet(`/comments/${user.id}`)
6+
7+
// // chain inside to access both user and comments in the closure
8+
// .chain(comments => updateDom(user, comments))
9+
// )
10+
311
// uwrapping Box,
412
// i.e. takes Box(x) and returns x
513
const join = m =>

0 commit comments

Comments
 (0)