Properly import the Text library
Properly import Maybe library
Properly import Direction
justs => filterMap id