Open
Description
Is there anyway to import the functions defined in a free trait inside a module?
Say my module has this definition: val algorithm: Algorithm
where Algorithm is a free monad. I can call the functions like algorithm.sort(x)
. However, I'd like to import everything defined like import algorithm._
and call functions like sort(x)
. Is this possible?
Metadata
Metadata
Assignees
Labels
No labels