How do you compose functions in PureScript?

Viewed 1436

Tried to use (.) for function composition, but it doesn't work.

import Data.String (length, trim)

trimmedLength :: String -> Int
trimmedLength = length . trim
1 Answers
Related