Ramda – reduce parentheses nesting on composition

I have array like this:

const arr = [
  ['1 1 1', '', '2 2 2'], 
  ['', '3 3 3', '4 4 4']
]

and my goal is to convert i to this array:

[
  [ [1,1,1], [2,2,2] ],
  [ [3,3,3], [4,4,4] ]
]

I am trying to do that in functional way using function composition. I am also using Ramda.

I have this code

const filterEmpty = filter(o(not, isEmpty));

const getFinalArr = map(
  compose( map(map(parseInt)), map(split(' ')), filterEmpty )
)

console.log(getFinalArr(arr))

It works just fine, but it’s not quite readable. I am wondering if is there way to write it with less map nesting. Something like that would be great:

const getFinalArr = map(
  compose( parseInt, map, map, split(' '), map, filterEmpty )
)

From my point of view it is much more readable. But of course it did not work.

Or if you can suggest another way how to easily deal with arrays nested like this. I am curious.