Skip to content

Saturn.Queue.push interface #149

Open
@Vincent-lau

Description

Hi,

I saw that the type signature for Saturn.Queue.push is 'a Saturn.Queue.t -> 'a -> unit while the queue in standard library has this the other way round val push : 'a -> 'a t -> unit, as i takes an element first, and then a queue, while in Saturn we take the queue first. I am wondering if there is any reason why this is done in a different way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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