Apologies as this may seem like a very strange question. All my experience at haskell has been writing down functions that usually recursively evolve (and some data items decrease with each iteration). However, I have a set of functions, each of which performs some processing on a piece of data, and I wanted my call method to contain every step, for example
(Pseudocode)
myFunc1 :: Something1 -> Something2 execute myFunc1 Something1 . execute myFunc2 . execute myFunc3 . execute myFunc4 . return Something2
But I'm not sure if this is possible? I just have to have something stupid:
myFunc4(myFunc3(myFunc2(MyFunc1(Something1)))) ?
EDIT: the above line may not be true!
source share