As you may or may not know fst and snd only work for 2-element tuples ie
fst' (a,b) = a
You have to write you own as far as I know
get5th (_,_,_,_,a,_,_,_,_,_) = a
As you can see you may want to define your own type.
As you may or may not know fst and snd only work for 2-element tuples ie
fst' (a,b) = a
You have to write you own as far as I know
get5th (_,_,_,_,a,_,_,_,_,_) = a
As you can see you may want to define your own type.