swlaschin / Railway-Oriented-Programming-Example

This repository contains code that demonstrates the "Railway Oriented Programming" concept for error handling in functional programming languages.
617 stars 67 forks source link

Place OK and Logging controller helpers outside of controller itself #2

Open raymens opened 9 years ago

raymens commented 9 years ago

By placing these lines outside of the controller they can be re-used in other controllers.

https://github.com/swlaschin/Railway-Oriented-Programming-Example/blob/master/src/FsRopExample/Controllers.fs#L138-L177

swlaschin commented 9 years ago

That's a good suggestion. I'll put them in the helper module. Thanks!