8000 Import functions in a free trait to use in a module · Issue #564 · frees-io/freestyle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Import functions in a free trait to use in a module #564
Open
@ashkan-leo

Description

@ashkan-leo

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0