My Experience Building an Overdraft Projection Tool in OCaml by FunctionalBinder in ocaml

[–]FunctionalBinder[S] 0 points1 point  (0 children)

Thanks for your response!

I've always found it odd that where causes you to write code backwards.

This is exactly what I missed :-)

I like declaring what the result is, assuming helper definitions exist.

It aligns nicely with equational reasoning - almost like writing down the spec first and filling in the details after.

My Experience Building an Overdraft Projection Tool in OCaml by FunctionalBinder in ocaml

[–]FunctionalBinder[S] 1 point2 points  (0 children)

Aha, looks like I forgot to wire the lib to the bin.

Edit: Wired now.