axelbdt

Threads by axelbdt

How do you deal with money?
axelbdt
Hello again! I am looking for pointers on how to handle money/pricing. Based on the stripe integration example, I represent the price of a Trip as an Integer, i.e the number of cents. I still want the user to read and input a decimal number…
Add Response
Help needed with validateFieldIO
axelbdt
Hello everyone, I am looking for a little help with the usage of validateFieldIO, as I am not used to the IO Monad yet. My user creates a bill for one of his clients by selecting him in a form in the NewBill action. The user is presented wi…
Add Response
Code formatter config that is compatible with code gen?
axelbdt
Hello, Love hacking on IHP so far, but I am confused about the code formatting config I should use so it is consistent with formatted code, any recommendation? Alternatively, I tried a heavy handed formatting of all haskell files of the boi…
Add Response