Skip to content

Is there a reason why at(time, val) is not curried? #676

Description

@semmel

Apart from runEffects, at seems to be the only (n>1)-ary function which is not auto-curried.

I find that surprising.
Is there a reason for it?

Activity

  1. briancavalier commented on Feb 20, 2024

    @briancavalier
    Member

    Hey, @semmel. I don't think there's a reason--probably just an oversight. Sorry for the surprise. We'd happily accept a PR to curry it 😄

  2. added
    2.0Changes requiring a major version bump 1.x -> 2.0
    on Mar 8, 2024
  3. TylorS commented on Mar 8, 2024

    @TylorS
    Member

    It may be a good idea to start brainstorming what a 2.0 might look like now that we have something deferred there. Maybe we should create an issue dedicated to it so we can discuss our ideas?

    Some off-the-cuff ideas I have:

    • Utilize the ES native Disposable type, pretty minor change, but breaking
    • Add support for asynchronous dispose, ideally with AsyncDisposable ES interface, fairly large change, but I have a number of usecases which rely on this behavior now, mostly undoing failures.
    • Add additional type parameters, could be one or both
      • E parameter to explicitly track error types
      • R parameter to allow tracking the context a Stream is running within
  4. TylorS commented on Mar 9, 2024

    @TylorS
    Member

    I created a discussion so we can have some amount of threading and such for conversation - #680

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0Changes requiring a major version bump 1.x -> 2.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions