Von: Hal Daume III
Hi,
In similar situations, especially if there is more than one
useful way to
use the various parts of an algorithm, I used often prefer existentials:
data Model = forall markup table alignments. Model
{
prepareData :: Data () - Data markup,
Hal Daume III writes:
Hi all,
I'm looking for some advice on what's the cleanest way to implement
something. The basic idea is that I have a task to solve, T. There are
many steps to solving this task, but they can be broken down into a small
list of elementary steps:
- prepareData