I’ve been reading a paper and implementing some of the Haskell code in PureScript.
So far I’ve been able to substitute (x, y) for Tuple x y but now I’ve reached something which relies on () in Haskell.
At first I thought using unit/ Unit would work but that doesn’t type check. Should I be looking for something other than Tuple?
I’m not sure if it’s essential to implement this part of the paper but I’m curious how to address this either way.