You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 likealgorithm.sort(x)
. However, I'd like to import everything defined likeimport algorithm._
and call functions likesort(x)
. Is this possible?The text was updated successfully, but these errors were encountered: