hmemcpy / milewski-ctfp-pdf

Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/
Other
10.84k stars 575 forks source link

OCaml - update 1.7 snippets #262

Closed ArulselvanMadhavan closed 3 years ago

ArulselvanMadhavan commented 3 years ago

@pspencil pointed out that the snippets in chapter 7 were off by one. So, this PR fixes it.

@pspencil Let me know if this build works for you

ArulselvanMadhavan commented 3 years ago

@pspencil Appreciate you catching that. It's been a while since I updated snippets that I forgot to run ocamlformat on them before sending the PR.

pspencil commented 3 years ago

No problem! I have been self studying this and your code really helped me a lot!

ArulselvanMadhavan commented 3 years ago

@hmemcpy Could you merge this when you get some time? Just has some formatting changes in Chapter 7 for the OCaml version

hmemcpy commented 3 years ago

Of course! Very sorry for neglecting this.